View Single Post
  #1  
Old 11-29-2009, 06:07 AM
GULTHEX GULTHEX is offline
Registered User
Join Date: Jul 2008
Posts: 148
GULTHEX can only hope to improve
Red face how would i make my gun go full auto not semi?

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
Reply With Quote