View Single Post
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 11-01-2021 , 13:59   Re: [L4D1 & L4D2] Incapped Pills Pop
Reply With Quote #34

Quote:
Originally Posted by Hawkins View Post
Maybe adding a function to start a sound (for example hunter pounce audio) for half a second, then ending it ,after using pills/adre to self help up?
Or, is there a code line to prevent certain audio files from being played at all?

I know i can disable the music audio client side for myself, but when people join my server and hear non stop jockey they are getting annoyed and leave.
Well, I would glad if somebody donate a code for reliable stop the music.
Above scenario willn't work. Already tested. New music will just overlap the old.

When I'll have more time for experiments, I'll try to dig it more, maybe integrate Silver's hook for music usermessage ids interception, because they appears to be a dynamic.
Our previous test was success, but the values seems have a habit to change depending on map.

Updated.

Quote:
2.7 (01-Nov-2021)
- Prevented "Get off infected" message from appearing in "allow_kill" mode.
- Added protection from self-help when you press Ctrl + E (prevents a conflict with "Revive and CPR" plugin).
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 11-01-2021 at 14:06.
Dragokas is offline