Quote:
Originally Posted by fowlplay4
Stuff
|
Appreciated you can do that if you have access to a var referencing the obj but what I was trying to do something along the lines of:
PHP Code:
//#CLIENTSIDE
function addToList(account) {
this.objs.add(new TStaticVar(@account));
}
function checkList() {
return (player.account in this.objs);
}
Which on the serverside would work. (If you changed checkList to be serverside friendly)
Was trying to see if I was doing it wrong somehow as if you output the array, rather than each of the objects having the name you'd assigned them, they all have blank names.
I'll just change the way its being handled but thanks guys