01.12.2013, 18:04
If you are using ZCMD, then try this.
pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
for(new i = 0; i < MAX_PLAYERS; i ++)
if(IsPlayerAdmin(i))
{
if(IsPlayerConnected(i))
{
new string[50];
format(string, sizeof(string), "*[INFO]: %s has typed %s.*", GetName(playerid), cmdtext);
SendClientMessage(i, -1, string);
}
}
return 1;
}