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



Stupid and nooby error: - Haxarr - 22.04.2011

Hey, when I try to compile I get this error:

C:\Users\Michael\Desktop\Grand Theft Auto\gamemodes\Untitled.pwn(24) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


SendClientMessage(playerid,COLOR_WHITE,"Logical FreeRoam");


Re: Stupid and nooby error: - sciman001 - 22.04.2011

what public is it under?


Re: Stupid and nooby error: - Haxarr - 22.04.2011

OnGameModeInit()


Re: Stupid and nooby error: - WillyP - 22.04.2011

You can't put 'playerid' inside OnGameModeInit.


Re: Stupid and nooby error: - Haxarr - 22.04.2011

Ah, sorry. I feel stupid now. Thankyou.