how would i heres what i got so far
NPC Code:
//#CLIENTSIDE
function onWeaponFired()
{
// testing purpose only
freezeplayer(.01);
setani("millenium_scar-fire", "");
this.spread=.1;
this.speed=5;
this.reload=50;
this.load=50;
temp.angl = getangle(vecx(player.dir), vecy(player.dir))+random(this.spread*-1,this.spread);
shoot(player.x + 0.5 + vecx(player.dir), player.y + vecy(player.dir), player.z, temp.angl, 0, 0, "idle", player.dir);
}
if(actionprojectile){
hurt 1;
}
so how would i make it go rapidfire without holding tab and d :P