Basically I am just curious as to if there is an easier way to do:
PHP Code:
function onActionServerSide() {
if(params[0] == "save") {
findplayer(params[1]).clientr.var = params[2];
}
}
//#CLIENTSIDE
function onSomeEvent() {
triggerServer("gui", this.name, "save", player.account, somevalue);
}
Sorry it's such a short post.
Thanks!