21.11.2012, 22:35
simples simples.
pawn Код:
public OnPlayerText(playerid, text[])
{
if(IsPlayerAdmin(playerid)) //troque pela variavel de admin
{
new string[256];
format(string,sizeof(string),"[ID:%d][ADM-RCON] %s ",playerid,text);
SendPlayerMessageToAll(playerid,string);
return false;
}
//outros cуdigos.
return false;
}