04.12.2011, 18:14
pawn Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
new string[128];
format(string, sizeof string, "Игрок %s(ID:%d) юзает команду: %s", PlayerInfo[id][Username],playerid,cmdtext);
for(new i; i != MAX_PLAYERS; i++)
{
if(IsPlayerAdmin(i))
{
SendClientMessage(i, -1, string);
}
}
return 0;
}