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?