Quote:
Originally Posted by Steven Paul
use this tested
At the top add
Код:
new TeamPlayers[ <Amount of teams here> ];
And then replace this
pawn Код:
public OnPlayerRequestSpawn(playerid) { for(new teams; teams < [Team Amount]; teams++) { if(teams == GetPlayerTeam(playerid)) continue; //Or gTeam[playerid], or w/e you use. if(TeamPlayers[Player Team Variable] > TeamPlayers[teams] + 3) { SendClientMessage(playerid, COLOR_RED, "You can't join this team as it would unbalance the game!"); return 0; } } }
|
Already have that. STill same errors.
Isn't there another way to balance them?