View Single Post
  #4  
Old 01-10-2006, 08:11 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Tom
Unless, of course, in the testing of this, you updated the weapon, and thus, joined before it actually tested.

onCreated clientside is activated AS the weapon is updated. So is the serverside, thereby, in the debugging purpose, it still is a valid argument.
Just for the hell of it, try:

PHP Code:
function onActionserverside(cmd) {
  if(
cmd=="created") {
    
player.join("classname");
    
triggeraction(00"clientside""WEAPONNAME""created");
  }
}

//#CLIENTSIDE
function onCreated() {
  
triggeraction(00"serverside""WEAPONNAME""created");
}

function 
onActionclientside(cmd) {
  if(
cmd=="created") {
    
player.functionname();
  }

__________________


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