Thread: GScript Wiki
View Single Post
  #61  
Old 12-12-2008, 09:33 PM
thatdwarf thatdwarf is offline
Former UN Dev Admin
Join Date: Nov 2005
Posts: 42
thatdwarf is on a distinguished road
Client/Server variable passing

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.accountsomevalue);

Sorry it's such a short post.
Thanks!
Reply With Quote