After my Visual Assistant became such a huge hit people started requesting the HEV Suit Voice, since it would work together really well. And here it is now!
https://steamcommunity.com/sharedfiles/filedetails/?id=1411625029
https://www.youtube.com/watch?v=FLxtLfuC110
Together with the Visual Assistant you have a great Half Life experience, all in gmod now. Have fun
Please, for the love of god, use Github.
i really dont see a reason to do so...the addon is not customizable, so why would you need it?
You make a github respository so that strangers like me could offer improvements
Or just be able to see the code without downloading the addon off workshop.
since you make it look like im forced to use github, here it is.
GitHub
It's in your best interest
You should really use enums instead of raw numbers here.
How would i use enums?
Also the reason i used HUDAmmoPickedUp is because i wanted the variable ti reset when the player picks up ammo. resetting it with a timer or something would make the sound play everytime the variable gets reset and the player is keep holding the empty weapon
Just insert the variable in-line. For example, replacing 536870912 with DMG_BUCKSHOT.
You can still do that with Think - just test if the player hits zero ammo and then changes the next call. There are cases where HUDPaint or HUDAmmoPickedUp might not be called, so it's not reliable to use for that purpose.
DMG Enumerations
Sorry, you need to Log In to post a reply to this thread.