I've replicated this. Looks like it's not being saved in the player's attributes (not shown in "/open account", even after reconnecting).
Testing code:
PHP Code:
function onCreated() {
temp.pl = findPlayer("YOUR_ACCOUNT");
temp.pl.clientr.test = {{"one", "two"}};
temp.pl.clientr.test[0][1] = "three";
echo("server: " @ temp.pl.clientr.test);
temp.pl.addWeapon(this.name);
temp.pl.triggerClient("gui", this.name, "check");
}
function onActionServerSide(temp.cmd, temp.data) {
if (temp.cmd == "returnCheck") {
echo("client: " @ temp.data);
}
}
//#CLIENTSIDE
function onActionClientSide(temp.cmd) {
if (temp.cmd == "check") {
triggerServer("gui", this.name, "returnCheck", player.clientr.test);
}
}
Output on Ol' West:
PHP Code:
Weapon/GUI-script wtf added/updated by cbk1994
server: "one,three",
client: "one,two",