Author Topic: Machine Gun Weapons  (Read 726 times)

I've taken a look at several gun files and I'm not quite sure how to make a weapon single fire, or automatic.

What bit of code in a .cs file makes a weapon automatic when the mouse is held down?
How do you control the rate of fire?

For example, maybe use the default gun's server.cs file?

Thanks,
-EpicFrySauce
« Last Edit: November 27, 2011, 11:06:18 PM by EpicFrySauce »

Seriously I've been at this for days now and I've figured out almost everything in the file except for making it automatic when the mouse is held down.