View Single Post
  #1  
Old 03-10-2010, 07:30 PM
Black_knights55 Black_knights55 is offline
Registered User
Join Date: Jan 2008
Posts: 24
Black_knights55 is on a distinguished road
Thanks, that's working.
Now, I did a new projectile called val_shuriken.png and a new gani called temp_shuri.gani. I've replaced "arrow" and "barrow0.png" but I guess I'm doing something wrong because now there's nothing shooting at all.

NPC Code:
//#CLIENTSIDE
function onWeaponFired()
{
setani("shoot",0);
temp.angle = getangle(vecx(player.dir), vecy(player.dir));
shoot(player.x, player.y, player.z, temp.angle, 0, 0, "temp_shuri", "val_shuriken.png");
freezeplayer(0.3);
}

Reply With Quote