Quote:
Originally Posted by Jiroxys7
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,};
}