Quote:
|
Originally Posted by excaliber7388
PHP Code:
savelog2("StaffToollog.txt","Staff= player.account Jailed Player=params[1] Reason=params[2]");
^ ^ All that does is save the EXACT text into the file 
|
That's because you need to concatenate the strings properly. You have to be explicitly clear when you want something to be treated as a variable or whatever.
PHP Code:
"Staff= " @ player.account @ " jailed player= " @ params[1]... etc