Quote:
Originally Posted by DaRk_RaiN
pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[]) { new str[128],name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); format(str, sizeof(str), "%s[ID:%d] typed the command %s", name, playerid, cmdtext); SendMessageToAll(playerid, -1, str);//Change this to send the command to admins only. return 1; }
|
How do you know that he uses ZCMD or any command processor??If he uses this is a better option than OnPlayerText.
EDIT:He uses CMD Processor - Areax posted before me

:P