Random team choose
#7

like mmm

pawn Код:
public SetRandomPlayerToBlueTeam()
{
    new randomp,name[MAX_PLAYER_NAME],string[128];
    randomp = GetRandomPlayer();
    gTeam[randomp] = 2;
    GetPlayerName(randomp,name,sizeof(name));
    format(string,sizeof(string),"%s is now blue team",name);
    SendClientMessageToAll(color,string);
    return 1;
}
idk if can work
Reply


Messages In This Thread
Random team choose - by Typhome - 21.03.2011, 18:23
Re: Random team choose - by iJumbo - 21.03.2011, 18:39
Re: Random team choose - by Sascha - 21.03.2011, 18:41
Re: Random team choose - by Typhome - 21.03.2011, 18:42
Re: Random team choose - by iJumbo - 21.03.2011, 18:44
Re: Random team choose - by Typhome - 21.03.2011, 18:49
Re: Random team choose - by iJumbo - 21.03.2011, 18:49
Re: Random team choose - by iJumbo - 21.03.2011, 18:54

Forum Jump:


Users browsing this thread: 1 Guest(s)