Help With putting random person on a certain team
#3

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
Reply


Messages In This Thread
Help With putting random person on a certain team - by lSCARl - 01.08.2010, 00:11
Re: Help With putting random person on a certain team - by PotH3Ad - 01.08.2010, 00:25
Re: Help With putting random person on a certain team - by lSCARl - 01.08.2010, 01:38

Forum Jump:


Users browsing this thread: 1 Guest(s)