Raised This Month: $ Target: $400
 0% 

Solved [Help] Reload sound


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 11-07-2019 , 15:31   Re: [Help] Reload sound
Reply With Quote #2

Hook FM_EmitSound pre.
Search for all the wav sounds containing "load/clip" in your cstrike/czero folder.
Make a string list with all those sounds in your plug-in.
Inside your EmitSound hook, check with equali.
If the sound matches one of the strings, return FMRES_SUPERCEDE.
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode