View Single Post
  #7  
Old 10-08-2011, 10:08 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
Quote:
Originally Posted by Emera View Post
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.plallplayers) {
    
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
__________________
Reply With Quote