• 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.
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/GM/EntityFireBullets]GM:EntityFireBullets[/url]?
If the weapon calls FireBullets, [url]http://wiki.garrysmod.com/page/GM/EntityFireBullets[/url] [editline]16th July 2016[/editline] Ninja'd
fml. Thank you. Thank you very much.
Sorry, you need to Log In to post a reply to this thread.