Thread: Shoot to GS2?
View Single Post
  #3  
Old 05-31-2006, 07:26 AM
Omini Omini is offline
Millenium Owner
Join Date: Feb 2006
Location: N.Ireland
Posts: 293
Omini is on a distinguished road
Send a message via AIM to Omini Send a message via MSN to Omini Send a message via Yahoo to Omini
Well it works

So would that said script become

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(#w,this.gunpow);

//Shooting Bullets

shoot(this.dx,this.dy,player.z,this.angle+random(t his.maxangle*-1,this.maxangle),"0","0","millenium_bullet");



I'm still sort of converting from GS1 to GS2, heh.
__________________



Reply With Quote