Thread: GScript Wiki
View Single Post
  #63  
Old 12-12-2008, 09:58 PM
LoneAngelIbesu LoneAngelIbesu is offline
master of infinite loops
LoneAngelIbesu's Avatar
Join Date: May 2007
Location: Toldeo, Ohio
Posts: 1,049
LoneAngelIbesu has a spectacular aura aboutLoneAngelIbesu has a spectacular aura about
Send a message via AIM to LoneAngelIbesu
Quote:
Originally Posted by thatdwarf View Post
Basically I am just curious as to if there is an easier way to do:
There's a way to write it as:
PHP Code:
function onCreated() {
  
// Not needed if you don't plan on triggering a clientside function
  
join("triggerclass");
}
function 
someOtherFunction(acctval) {
  
findplayer(acct).clientr.var = val;
}
//#CLIENTSIDE
function onCreated() {
  
join("triggerclass");
}
function 
someFunction() {
  
serverfunction2(null"someOtherFunction"player.accountval);

with Inverness' class, but it's pretty much the same thing; not sure if it's any easier. I prefer to use the class, because I hate working with cluttered onActionServerside()'s.
__________________
"We are all in the gutter, but some of us are looking at the stars."
— Oscar Wilde, Lady Windermere's Fan
Reply With Quote