13.05.2010, 19:50
hello, today i added a command to log the commands a player uses evrything works fine but i got an npc in the server what uses a command and it spams the logs alot is there a way to not log it for npc's?
this is my script:
part of my log:
thanks in advance
this is my script:
Код:
new name22[MAX_PLAYER_NAME]; new string22[128]; GetPlayerName(playerid,name22,sizeof(name22)); format(string22,sizeof(string22),"%s: %s",name22,cmdtext); WriteLog(CMDL,string22);
Код:
[14:45] daXSZbitch: /npcanim [14:45] daXSZbitch: /npcanim [14:45] daXSZbitch: /npcanim [14:46] daXSZbitch: /npcanim [14:46] daXSZbitch: /npcanim [14:46] daXSZbitch: /npcanim [14:47] daXSZbitch: /npcanim [14:47] daXSZbitch: /npcanim [14:47] daXSZbitch: /npcanim [14:48] daXSZbitch: /npcanim [14:48] daXSZbitch: /npcanim [14:49] Micka: /pcar [14:49] daXSZbitch: /npcanim [14:49] daXSZbitch: /npcanim [14:50] daXSZbitch: /npcanim [14:50] Micka: /flip [14:51] daXSZbitch: /npcanim [14:51] daXSZbitch: /npcanim [14:52] daXSZbitch: /npcanim [14:52] daXSZbitch: /npcanim [14:52] daXSZbitch: /npcanim [14:53] samerX: /gggg [14:53] daXSZbitch: /npcanim