View Single Post
  #8  
Old 05-24-2009, 08:24 AM
Jiroxys7 Jiroxys7 is offline
Hazard to Graal
Jiroxys7's Avatar
Join Date: Apr 2009
Posts: 343
Jiroxys7 will become famous soon enough
Ah, I understand it now! Much thanks for the explaination Chris

Edit:
Okay, as for the putnpc2 thing, i'm still having trouble.
I got:

PHP Code:
function onWeaponFired() 
{
if(
player.bombs>0){ 

  
play("put.wav"); 
  
player.bombs--; 

  if (
player.dir == 0) { 
    
with(putnpc2(player.0.5player.1"")){
    
join("firebomb"); 
   }
  }
  else if (
player.dir == 1) { 
    
with(putnpc2(player.1.5player.1"")){
    
join("firebomb"); 
   }
  } 
  else if (
player.dir == 2) { 
    
with(putnpc2(player.0.5player.2.5"")){
    
join("firebomb"); 
   }
  } 
  else if (
player.dir == 3) { 
    
with(putnpc2(player.2.5player.1"")){
    
join("firebomb"); 
   }
  } 

 }

Since using the other way didnt work. Clientsiding only plays the wav, and nonclientsiding won't trigger the onWeaponfired function.
So i'm still stuck in the same place
__________________
MY POSTS ARE PRONE TO EDITS!
Reply With Quote