View Single Post
  #3  
Old 07-17-2009, 05:30 AM
Ronnie Ronnie is offline
Registered User
Join Date: Jun 2008
Location: Nj, USA
Posts: 48
Ronnie is on a distinguished road
Send a message via AIM to Ronnie
Use a trigger client, basically the same thing as trigger server just backwards

ie.
PHP Code:
function onactionserversidecmd ) {
  switch( 
cmd ) {
  
   case 
"test":
   
triggerclient("gui",this.name,"newb");
   break;

  }
 }
 

//#CLIENTSIDE

function onactionclientsidecmd ) {
  switch( 
cmd ) {
  
   case 
"newb":
   
player.chat "Not my parking space!";
   break;

  }
 } 
Reply With Quote