View Single Post
  #5  
Old 03-01-2006, 03:18 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
PHP Code:
public function TransferToClientside(abc) {
  
client.classclientside_abc abc;
  
client.classclientside_transfer true;
}

//#CLIENTSIDE
function onCreated() {
  
setTimer(0.05);
}

function 
onTimeout() {
  if(
client.classclientside_transfer) {
    unset(
"client.classclientside_transfer");
    
player.chat client.classclientside_abc;
    unset(
"client.classclientside_abc");
  }

  
setTimer(0.05);

Probably not the best way to do it, but I think it works :P

I'm not sure if you can use npc.trigger() or npc.triggerclient() or something to trigger to clientside or not.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote