Quote:
Originally Posted by cbk1994
PHP Code:
function onPlayerLogout(pl) {
pl.clientr.seenlast = timevar2;
// HMM, BACKUP IN CASE ABOVE FAILS?
This will always fail. The player object given is read-only at this point.
Also, why are you creating the player object even if the player is online? o.o
|
I was originally not doing so, as I had a check to return if the player was online but I had removed it and didn't bother to clean up.