Hook for when a player shoots? Must call everytime a single bullet leaves the gun.
3 replies, posted
Hello,
I'm working on a system that requires the ability to count the individual rounds leaving a gun.
E.g. When player shoots, a variable goes down every time a bullet is shot.
so SMG's push the var down quicker, whereas a pistol will be slower.
I've tried following a post a while back about overriding the SWEP's PrimaryAttack function, but it didn't seem to work when I tried it.
Any ideas?
Thanks.