View Single Post
  #3  
Old 03-11-2010, 12:21 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by cbk1994 View Post
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.
Reply With Quote