22.02.2012, 20:12
PHP код:
forward scmToAll(color, message[]);
public scmToAll(color, message[])
{
for(new i; i<= MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerConnect[i] == 0 && KSawn[CloseChat] == 0)
{
SendClientMessage(i,color, message);
}
}
}
return 1;
}