01.08.2010, 00:25
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;
}
}

