View Single Post
  #6  
Old 05-05-2008, 10:18 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 Stefan View Post
You can use twodimensional arrays like array[1][2], for your purpose it will be better to store them in separate variables, like

serverr.guilds = {"Samurai","Dustari"};
serverr.guild_Samurai = {me, you, etc};

Otherwise the whole array needs to be sent whenever you do a modification to a single guild.
That'd be a silly thing to use serverr for, as it has little use on clientside, and (from what I've heard, but may be false) can slow down the server if you have too many serverr flags (again, may be false).

Better to use a DB NPC.
__________________
Reply With Quote