SA-MP Forums Archive
Stupid error - 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: Stupid error (/showthread.php?tid=272082)



Stupid error - a_big - 27.07.2011

I get this
Код:
C:\Program Files (x86)\Rockstar Games\server\gamemodes\bare.pwn(21) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Line 21 is this GameTextForPlayer(playerid,"~p~Gamemode restarting.",3000,1); how could there be a error


Re: Stupid error - [HiC]TheKiller - 27.07.2011

Make sure that callback that the gametext is under has a playerid parameter.