Info Pickup problem [SOLVED] New problem now..... - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Info Pickup problem [SOLVED] New problem now..... (
/showthread.php?tid=122432)
Info Pickup problem [SOLVED] New problem now..... -
Juanxz - 21.01.2010
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.
Re: Info Pickup problem -
Miguel - 21.01.2010
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
Re: Info Pickup problem -
Juanxz - 22.01.2010
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?