icon='Fire (HUD Button).dmi'
/* if(usr.it) Irrevelant to the question
flick("Shoot",usr)//flick the icon state shoot so that it "plays" there shooting motion
usr.projectile(new/obj/FireBall(usr.loc),usr.dir,7)//shoots the projectile
sleep(8)//prevents spamming of this
There is the entire code of this if you need it but this...
...is the problem. I need this to make the projectile to appear in front of the player and move forward