19.02.2012, 15:56
try
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++ )
{
if(GetPlayerTeam(i) == 1 && IsPlayerConnected(i))
{
SendClientMessage( i, yellow, string );
}
}
for(new i = 0; i < MAX_PLAYERS; i++ )
{
if(GetPlayerTeam(i) == 2 && IsPlayerConnected(i))
{
SendClientMessage( i, yellow, string );
}
}