PHP Code:
temp.data = temp.data.savevarstoarray(false); // Maybe true? Cant remember, think its supposed to be false...
triggerClient("gui", name, "foo", temp.data); // Sends the converted TStaticVar() as an array to client
//#CLIENTSIDE
function onActionClientSide()
{
if (params[0] == "foo") this.data.loadVarsFromArray(params[1]); // Back to a TStaticVar!
}
Maybe that helps you solve the object transfering?