Code:
I'm not sure how can you see your entity with the above


I used ent_create to make a enemy, en placed it's positions so that it will be floating the same directions as the player, so it will be in front of the player all the time.
fire_weapon is attached to the ent_create command.

I wil test your script.


The best games are the games you create yourself.