Pickup - 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)
+--- Thread: Pickup (
/showthread.php?tid=309483)
Pickup -
rubygta - 07.01.2012
Hey, again. I'm creating my second pickup and it doesn't go the way I planned, I went over this 5++ times and still no clue of what's wrong with it.
the error(warning) is
pawn Код:
C:\Users\Ruben\Dropbox\0.3d\gamemodes\RubyAaVegard.pwn(240) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
here's the "new"
OnPlayerGameModeInit below(THIS IS LINE 240, WHERE THE WARNING/ERROR IS)
pawn Код:
pdgaragePickup = CreatePickup(1247, 1, 2285.6396,70.5205,26.4844,87.0025);
and of course the OnPlayerPickUpPickup
pawn Код:
if(pickupid == pdgaragePickup)
{
GameTextForPlayer(playerid, "~y~ /enter ~r~ to ebter PD garage", 1000, 1);
}
I'm really stuck..Thanks a lot in advance.
Re: Pickup -
rubygta - 07.01.2012
Thanks, tested and working