Is this bad practice? timestamp logging
#2

I dont understand what do u want to make but you can use this CommandLog code at OnPlayerCommandText like this
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	CommandLog(cmdtext[]);
	if (strcmp(cmd,"/cmdname", true) == 0)
	{
and not in every command.
Reply


Messages In This Thread
Is this bad practice? timestamp logging - by Garavel - 29.01.2018, 13:31
Re: Is this bad practice? timestamp logging - by Mugala - 29.01.2018, 13:40
Re: Is this bad practice? timestamp logging - by wallee - 29.01.2018, 13:43
Re: Is this bad practice? timestamp logging - by iLearner - 29.01.2018, 15:04
Re: Is this bad practice? timestamp logging - by iKarim - 29.01.2018, 18:11

Forum Jump:


Users browsing this thread: 2 Guest(s)