View Single Post
  #13  
Old 07-11-2010, 01:39 AM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by Jiroxys7 View Post
Assuming I even know what I'm talking about, I've run into a problem where I cant seem to get the npcserver to check arrays within an array.

for example:
PHP Code:
function onCreated(){
  
this.somearray = {temp.otherarray1,temp.otherarray2,};
  
temp.otherarray1 = {"a","b","c",};
  
temp.otherarray2 = {"1","2","3",};

I know this is just an example so this isn't really a solution but that ought to be:

PHP Code:
function onCreated(){
  
temp.otherarray1 = {"a","b","c",};
  
temp.otherarray2 = {"1","2","3",};
  
this.somearray = {temp.otherarray1,temp.otherarray2,};

Reply With Quote