05.03.2010, 22:49
pawn Код:
public OnPlayerText(playerid,text[])
{
if((text[0]=='+')&&(IsPlayerAdmin(playerid))
{
new tmp[192];
GetPlayerName(playerid,tmp,24);
format(tmp,192,"%s: %s",tmp);
for(new ply;ply<MAX_PLAYERS;ply++)if(IsPlayerConnected(ply)&&IsPlayerAdmin(ply))SendClientMessage(ply,0xFF0000FF,tmp);
return 0;
}
return 1;
}