[HELP] 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: [HELP] error 017: undefined symbol "playerid" (
/showthread.php?tid=144128)
[HELP] error 017: undefined symbol "playerid" -
borg245 - 25.04.2010
Hey sa-mp forum,
I seem to be having this error on compiling my scripts... :S
Quote:
C:\Documents and Settings\Gabriel Borg\Desktop\samp\gamemodes\LSTW2Uv1.pwn(76 : error 017: undefined symbol "playerid"
|
Here is the part of the script:
Код:
766 for (new t=0; t<MAX_TURFS; t++) {
767 GangZoneCreate( turfs[ t ][zMinX], turfs[ t ][zMinY], turfs[ t ][zMaxX], turfs[ t ][zMaxY] );
768 GangZoneShowForPlayer(playerid, ZoneInfo[ zone ][ZoneID], GangZone_CurrentColour[ zone ] );
769 for (new teams=0; teams<MAX_TEAMS; teams++) TurfInfo[ t ][ teams ][ MIT ]=0;
770 }
thanks in advance,
borg245
Re: [HELP] error 017: undefined symbol "playerid" -
borg245 - 25.04.2010
Код:
for(new zone = 0; zone < MAX_ZONES; zone++)
{
GangZoneHideForPlayer(i, zone);
GangZoneShowForPlayer(i, ZoneInfo[ zone ][ZoneID], GangZone_CurrentColour[ zone ] );
}
}
}
}
Re: [HELP] error 017: undefined symbol "playerid" -
borg245 - 25.04.2010
Well, it still gives me the same errors..do I have to define "i" in someway? Because "i" isn't defined.
Re: [HELP] error 017: undefined symbol "playerid" -
borg245 - 25.04.2010
And I should add this loop under where? (forgive me, i'm kinda new to this)
Re: [HELP] error 017: undefined symbol "playerid" -
borg245 - 25.04.2010
Well, I'm still getting the same errors...
Is it ok if I upload my script and you can check it for me?
Re: [HELP] error 017: undefined symbol "playerid" -
borg245 - 25.04.2010
Here is the link:
http://pastebin.com/4RRgCpB4
the line might have changed to line 771.
thanks alot,
borg245