Alright awesome.

Thanks very much for the help.
Edit:
Ok it doesn't appear to work.
NPC Code:
function shoot()
{
freezeplayer(0.65);
setani("millenium_cx-fire","");
client.cxclip -= 1;
this.angle = getangle(vecx(player.dir),vecy(player.dir));
this.dx = player.x+vecx(player.dir)*2;
this.dy = (player.y-.5)+vecy(player.dir)*2.5;
//Setting Shoot Params
setshootparams("shoot",this.gunpow,player.account) ;
//Shooting Bullets
shoot(this.dx,this.dy,player.z,this.angle+random(t his.maxangle*-1,this.maxangle),0,0,"millenium_bullet","");
shoot(this.dx,this.dy,player.z,this.angle+random(t his.maxangle*-1,this.maxangle),0,0,"millenium_bullet","");
shoot(this.dx,this.dy,player.z,this.angle+random(t his.maxangle*-1,this.maxangle),0,0,"millenium_bullet","");
shoot(this.dx,this.dy,player.z,this.angle+random(t his.maxangle*-1,this.maxangle),0,0,"millenium_bullet","");
shoot(this.dx,this.dy,player.z,this.angle+random(t his.maxangle*-1,this.maxangle),0,0,"millenium_bullet","");
shoot(this.dx,this.dy,player.z,this.angle+random(t his.maxangle*-1,this.maxangle),0,0,"millenium_bullet","");
}
That's in the Weapon / Gun. In a system NPC (-Systems/HP)
NPC Code:
function onActionprojectile()
{
if (!isnopkzone) {
if (params[0] == "shoot") {
clientr.hp -= params[1];
if (clientr.hp <= 0) {
with (findplayer(params[2])) {
clientr.kills += 1;
}
dead();
}
}
}
}
Can anyone see any errors in either of those 2 scripts?