SA-MP Forums Archive
error 017: undefined symbol "playerid" - 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: error 017: undefined symbol "playerid" (/showthread.php?tid=105659)



error 017: undefined symbol "playerid" - Rickyboy30 - 30.10.2009

Hey,

I created a 'Random' message.

Everything was fine in my other script. but I started to create a new GM.
At my new GM, my random messages gives 3 errors:
Код:
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
wich is very strange.

Anyone knows how to solve that ?


Re: error 017: undefined symbol "playerid" - dice7 - 30.10.2009

You used SetTimer instead of SetTimerEx. Alternatevly, you could loop through all players when sending the message instead of using SetTimerEx


Re: error 017: undefined symbol "playerid" - MenaceX^ - 30.10.2009

Show the code.


Re: error 017: undefined symbol "playerid" - Rickyboy30 - 30.10.2009

Well, I fixed it

But now I got another problem!
I got the line:
Код:
if (IsPlayerInVehicle(playerid,574) == true) {
Wich gives me this warning:
Код:
C:\Documents and Settings\gebruiker\Mijn documenten\SAMP Server\0.3X\gamemodes\RPG.pwn(523) : warning 213: tag mismatch
I dont see any problems ?


Re: error 017: undefined symbol "playerid" - radhakr - 30.10.2009

Код:
if (IsPlayerInVehicle(playerid,574)) {



Re: error 017: undefined symbol "playerid" - Rickyboy30 - 30.10.2009

Ty bro