Thread: Objects ...
View Single Post
  #3  
Old 03-04-2007, 03:18 AM
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
function onCreated()
{
this.messages.loadVars( this.lasts );
findPlayer( "cbk1994" ).chat = this.messages.cbk1994;
}
basically what happens. I use a script to remove all variables of this.messages. It loads the variables correctly. (In DB-NPC flags it shows them correctly). The variable this.messages.cbk1994 should have a value, but it sets my chat to '0'.
-EDIT-
Apparently the problem is that it is an array ... if I change the array to a string it works fine ... why won't the array work, how can I get it to? Thanks.

-EDIT AGAIN-
I can't
this.messages.cbk1994 = "";
this.messages.cbk1994.clear();

How can I erase it? It is equal to ...
messages.cbk1994=s_cbk1994_20,

direct from the DB NPC
__________________

Last edited by cbk1994; 03-04-2007 at 03:51 AM..
Reply With Quote