21.03.2011, 18:49
like mmm
idk if can work
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;
}