28.07.2009, 22:01
for OnplayerRequestSpawn ive got
Now, i dont know wat to do, i want to make it so that If West team has more players than East team....(Btw, its defined that if a player enters server and chooses a west team skin, then WestTeam =1 and EastTeam= 0.)
These are errors i get when i compile, they are all on line 'if (WestTeam[i] < EastTeam[i])'
Код:
for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if (WestTeam[i] < EastTeam[i]) { } } }
These are errors i get when i compile, they are all on line 'if (WestTeam[i] < EastTeam[i])'
Код:
C:\Documents and Settings\Darren(cool person)\Desktop\SGGW.pwn(889) : error 017: undefined symbol "EastTeam" C:\Documents and Settings\Darren(cool person)\Desktop\SGGW.pwn(889) : warning 215: expression has no effect C:\Documents and Settings\Darren(cool person)\Desktop\SGGW.pwn(889) : error 001: expected token: ";", but found "]" C:\Documents and Settings\Darren(cool person)\Desktop\SGGW.pwn(889) : error 029: invalid expression, assumed zero C:\Documents and Settings\Darren(cool person)\Desktop\SGGW.pwn(889) : fatal error 107: too many error messages on one line