11.11.2009, 18:12
Basically the exact same way as you log OnPlayerText
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { new name[MAX_PLAYER_NAME]; new string[128]; GetPlayerName(playerid,name,sizeof(name)); format(string,sizeof(string),"%s: %s",name,cmdtext); WriteLog(Command,string); }