05.08.2013, 04:24
Is it possible to use something like,
to set the players team by using their id? I want this so that each team will always have close to equal numbers...
Код:
if (playerid == 0 || playerid == 2 || playerid == 4|| playerid == 6 || playerid == 8 (and so on to 50) ) { SetPlayerTeam (playerid, 1); } if (playerid == 1 || playerid == 3 || playerid == 5|| playerid == 7 || playerid == 9 (and so on to 50) ) { SetPlayerTeam (playerid, 2); }