I really don't know how to use file functions, so I'm requesting this:
I want a function, that will write "x" text at the end of the player's log(data\logs\playername commands.log)
Like:
[21/03/2008 22:29] /makesay "God Lord,hi
So, the function could be like loglogRegister(name,text), so, to use it in talkactions you would use it like:
logRegister(getCreatureName(cid),"".. word .." \"".. param ..") <-- the date should be in the function.
You know what I mean?
I dont think is that hard, but I don't know how to use file functions, and this may help me understand how to use them
Thanks in advance
I want a function, that will write "x" text at the end of the player's log(data\logs\playername commands.log)
Like:
[21/03/2008 22:29] /makesay "God Lord,hi
So, the function could be like loglogRegister(name,text), so, to use it in talkactions you would use it like:
logRegister(getCreatureName(cid),"".. word .." \"".. param ..") <-- the date should be in the function.
You know what I mean?
I dont think is that hard, but I don't know how to use file functions, and this may help me understand how to use them
Thanks in advance