Quote:
Originally Posted by PotH3Ad
Add this where you want to pick the random player...
pawn Код:
for(new x=0; x!=MAX_PLAYERS; x++) { if(GetPlayerTeam(x) != TEAM_HUNTER) { new str[80]; format(str, sizeof(str), "%s has been randomly set to \"Team Hunter\"", pName(x)); SendClientMessageToAll(0xAAFFFFF, str); SetPlayerTeam(x, TEAM_HUNTER); break; } }
|
this makes everyone who joins a hunter. how can i fix it