25.05.2011, 10:31
im get some error here im get this from script request thread
errors
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
for(new teams; teams < 4; teams++)
{
if(teams == gTeam[playerid]) continue;
if(TeamPlayers[gTeam[playerid]] > TeamPlayers[teams])
{
SendClientMessage(playerid, COLOR, "Team full...");
return 0;
}
return 1;
}
Код:
E:\2b to 3c editing and more\LSGW\gamemodes\GM5.pwn(487) : error 017: undefined symbol "TeamPlayers" E:\2b to 3c editing and more\LSGW\gamemodes\GM5.pwn(487) : warning 215: expression has no effect E:\2b to 3c editing and more\LSGW\gamemodes\GM5.pwn(487) : error 001: expected token: ";", but found "]" E:\2b to 3c editing and more\LSGW\gamemodes\GM5.pwn(487) : error 029: invalid expression, assumed zero E:\2b to 3c editing and more\LSGW\gamemodes\GM5.pwn(487) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.