RSSy MYGO.pl Opublikowano Wrzesień 4, 2021 o 18:44 RSSy Udostępnij Opublikowano Wrzesień 4, 2021 o 18:44 hello everyone:) another hitsound plugin? yes maybe in this plugin each client can pick its desired hitsound when hitting other players. :3 Quick preview of how it looks/works (must watch) Screenshots Spoiler Spoiler Commands!hitsound Cvars Spoiler roby_hitsound_kill_only0: sound will always play when hitting 1: sound will only play on kill default value: 0 Installation Put the .smx file into your plugins/ folder (in your server files) I've also included some hitsounds by default, you have to move erasounds/ to your sound/ server folder. Make sure your server's fastdl is working Adding more hitsounds If you install this plugin correctly, it should have 12 hitsounds by default, if you want to add new hitsounds, you will have to edit and recompile the plugin. But its pretty simple, follow the example below: Spoiler Lets say you want to add a new sound, which has this path: /myfolder/mysound.wav You just need to add 2 lines! Look: Code: char g_sounds[][] = { "", "play */erasounds/fdp_era.wav", "play */erasounds/cod_era.mp3", "play */erasounds/nojohit_era.wav", "play */erasounds/nojohittwo_era.wav", "play */erasounds/bubble_era.wav", "play */erasounds/bounce_era.wav", "play */erasounds/catgun_fire01_era.wav", "play */erasounds/firework_1_era.mp3", "play */erasounds/punch_era.mp3", "play */erasounds/laser_era.mp3", "play */erasounds/bonk.wav", "play */erasounds/bameware_era.wav", "play */myfolder/mysound.wav" // you just need to add this }; char g_sounds_name[][] = { "None", "Skeet", "Cod", "Nojo1", "Nojo2", "Bubble", "Bounce", "Catgun", "Firework", "Punch", "Laser", "Bonk", "Bameware", "MySound" // and this }; TODOAdd hitsounds via config file Updates Github repo Hitmarker version Contact me Need help? Found any bugs? Anything I can do better? Hit me up :bee: Attached Files roby_hitsound.zip (1,023.9 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi