Quote:
Originally Posted by 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], [...]}; } }
|
Yep, if you have an item system or any other system using variables with a value length over 255, you could use the event to fix the variable.