View Single Post
  #3  
Old 05-23-2009, 06:48 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Awesome idea; it could also be used to solve some problems with items stored in flags (e.g. cutting off when you update with RC), though I can't think of a perfect way right now, since this would still require you to use text files. I suppose you could do something like

PHP Code:
function onPlayerAttributesUpdated(pl) {
  
temp.items.loadVars("players/" pl.account);
  
  for (
temp.item items.getDynamicVarNames()) {
    
pl.clientr.item.(@ item[0]) = {item[1], item[2], [...]};
  }

__________________
Reply With Quote