zcmd - command log write to other file
#1

Dear,

I trying to make command log file , but the only thing i made is writing the command to server.log - its working but spamming the file which is useless for me.

I trying to make a file (dosent matter file name ) which all commands will be saved there, now i did all code into the ZCMD include and its looks like

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new playername[24];
    GetPlayerName(playerid, playername, 24);
    printf("[cmd] %s(%d): %s", playername, playerid, cmdtext);	
}
i need format are using fwrite, fopen etc..
Anyone can help me with making a format to new file instead of server.log ?
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: 1 Guest(s)