[HELP] error 017: undefined symbol "playerid"
#1

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
Reply
#2

Код:
for(new zone = 0; zone < MAX_ZONES; zone++)
			{
				GangZoneHideForPlayer(i, zone);
				GangZoneShowForPlayer(i, ZoneInfo[ zone ][ZoneID], GangZone_CurrentColour[ zone ] );
			}
		}
	}
}
Reply
#3

Well, it still gives me the same errors..do I have to define "i" in someway? Because "i" isn't defined.
Reply
#4

And I should add this loop under where? (forgive me, i'm kinda new to this)
Reply
#5

Well, I'm still getting the same errors...
Is it ok if I upload my script and you can check it for me?
Reply
#6

Here is the link: http://pastebin.com/4RRgCpB4
the line might have changed to line 771.

thanks alot,
borg245
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)