25.07.2013, 02:01
Hi i want to optimise my code, but i have error with this code how i can solved my error?
PHP код:
new MAXNUMBERTEAMID;
foreach(new i : Player)
{
if(gLogged[i])
{
if(MAXNUMBERTEAMID < PlayerInfo[i][pTeamId] && PlayerInfo[i][pTeamId] > 0) MAXNUMBERTEAMID = PlayerInfo[i][pTeamId];
}
}
new TeamConnected[MAXNUMBERTEAMID+1];// error is here