zcmd - command log write to other file
#6

Quote:
Originally Posted by Camorra
Посмотреть сообщение
Well, as i said i doing this formating on the zcmd include.
Dude..why you no just use my function

This would be so much easier...and are you sure..that the Logs folder exists?!

...just use my function and do this:

Код:
new string[128];
GetPlayerName(playerid, string, MAX_PLAYER_NAME);
format(string,128,"%s (%d): %s",string,playerid,cmdtext);
file_set_content("/Logs/CMD_LOG.log",string);
Greekz
Reply


Messages In This Thread
zcmd - command log write to other file - by Camorra - 19.03.2015, 08:55
AW: zcmd - command log write to other file - by Kaliber - 19.03.2015, 09:04
Re: zcmd - command log write to other file - by Camorra - 19.03.2015, 09:26
AW: Re: zcmd - command log write to other file - by Kaliber - 19.03.2015, 09:28
Re: zcmd - command log write to other file - by Camorra - 19.03.2015, 09:31
AW: Re: zcmd - command log write to other file - by Kaliber - 19.03.2015, 09:52
Re: zcmd - command log write to other file - by Camorra - 19.03.2015, 10:13

Forum Jump:


Users browsing this thread: 2 Guest(s)