I noticed when I was scripting something on Babylon that Proper arrays arent showing when you open the player attributes.
My example
NPC Code:
clientr.new_array = new[2][2];
Then later im doing something like
NPC Code:
function onPlayerchats() {
clientr.new_array[0][0] = "foo";
clientr.new_array[0][1] = "bar";
}
I can check the array by echoing it out and it shows properly but in RC it shows
NPC Code:
clientr.new_array="0,0","0,0"
Even when the array does not equal that (Checked and Rechecked).
Is anyone else having this problem? If so, how do I fix it? If not, can someone else check to see if they experince the same issue?
To Ziro and any others:
To clarify the npc is on the serverside, if you read correctly you can see its changing the value if I echo it to RC, but it is NOT changing it in player attributes.
It stays changed when i relog, but still, as "0,0" in rc.