SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 21/01/2010, 11:45 PM   #1
Juanxz
Big Clucker
 
Join Date: Jan 2010
Posts: 124
Reputation: 1
Default Info Pickup problem [SOLVED] New problem now.....

I've set a pickup in mad dog's mansion but it won't show up. I've also put an info pickup inside of Caligula's casino and it worked. I don't know why the ones in MD's mansion aren't showing up :/ .

I have the:

Code:
new icon5
new icon6
in the forwards. Icon4 works and is with them too.

Code:
icon4 = CreatePickup(1239,2,2236.0605,1679.7792,1008.3594); //Casino --- This one works
icon5 = CreatePickup(1239,2,1271.2010,-778.2589,1091.9063,240.5330); //MD's Mansion --- This one doesn't
icon6 = CreatePickup(1239,2,1299.6057,-784.9633,1084.0078,357.3267); //" " " " "  " " --- Same here
Code:
  }
	if (pickupid == icon4)
	{
	  GameTextForPlayer(playerid, "~w~[TB]Ghost's Casino", 5000, 5);
    SendClientMessage(playerid, WHITE, "[TB]Ghost's Casino.");
  }
	if (pickupid == icon5)
	{
	  GameTextForPlayer(playerid, "~w~[TB]~r~Max Payne's ~w~Mansion", 5000, 5);
    SendClientMessage(playerid, WHITE, "~w~[TB]~r~Max Payne's ~w~Mansion");
  }
	if (pickupid == icon6)
	{
	  GameTextForPlayer(playerid, "~w~[TB]~r~Max Payne's ~w~Mansion", 5000, 5);
    SendClientMessage(playerid, WHITE, "~w~[TB]~r~Max Payne's ~w~Mansion");
	}
Oh and I also get when I finish compiling.
Code:
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(896) : warning 213: tag mismatch
C:\Documents and Settings\Juan & Miguel\Desktop\Stunt Paradise 0.3a\gamemodes\SP.pwn(897) : warning 213: tag mismatch
Help would be appreciated. Thanks.
Juanxz is offline  
Old 22/01/2010, 12:12 AM   #2
Miguel
High-roller
 
Miguel's Avatar
 
Join Date: Dec 2009
Posts: 1,588
Reputation: 27
Default Re: Info Pickup problem

Use this:
pawn Code:
icon5 = CreatePickup(1239,2,1271.2010,-778.2589,1091.9063, 240.5330); // 240.5330 == facing angle (wrong, not needed)
icon6 = CreatePickup(1239,2,1299.6057,-784.9633,1084.0078, 357.3267); // 357.3267 == facing angle (wrong, not needed)
pawn Code:
icon5 = CreatePickup(1239,2,1271.2010,-778.2589,1091.9063); // good
icon6 = CreatePickup(1239,2,1299.6057,-784.9633,1084.0078); // good
You don't need the facing angle with pickups
Miguel is offline  
Old 22/01/2010, 08:19 AM   #3
Juanxz
Big Clucker
 
Join Date: Jan 2010
Posts: 124
Reputation: 1
Default Re: Info Pickup problem

Thanks....I thought I had removed the facing angle.

My 2nd problem....well this isn't really a problem but...anyways here it goes:

I've set that when people use the command /boxing their skin changes into the boxer skin 80. Is it possible for the 2nd person to get skin 81?
Juanxz is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GiveRank problem -- read for more info. NewYorkRP Help Archive 4 22/01/2010 05:13 PM
[SOLVED] Pickup Problem cmg4life Help Archive 3 07/01/2010 11:22 AM
Server Problem [Read for more info] Memoryz Help Archive 4 06/10/2009 12:57 AM
SetVehicleHealth problem (Angle problem SOLVED) Paranoja Help Archive 5 03/08/2009 01:06 PM


All times are GMT. The time now is 12:42 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.