Quote:
Originally Posted by Emera
Hey, i'm not ignoring what you guys are saying, but exploring other methods. I am using a DB-NPC called HatStorage, and storing their hats in there. Here is the code.
PHP Code:
function onCreated() { this.dbnpc = findnpc("HatStorage"); for (temp.pl: allplayers) { this.dbnpc.(@pl.account) = pl.client.hats; } }
Is that a good method also?
|
No, you'll still have the issue of attribute length. Do what Jer said, that's the best way. You also don't need to use findNPC;
PHP Code:
this.dbnpc = HatStorage;
works fine