emit_sound but with customizable sound parameters like in sentences.txt
So, as you might know, doing this
PHP Code:
PHP Code:
PHP Code:
PHP Code:
My question is, how can I achieve something similar to this with emit_sound, or SVC_SOUND and other messages for that matter? |
Re: emit_sound but with customizable sound parameters like in sentences.txt
Bump. Does anyone know this? There's another method which is creating a new sentences.txt entry maybe in plugin_precache() or something but I don't think there's a function for this, so this is likely not possible. I also don't know of any forwards called during the engine parsing sentences.txt otherwise we can just add a new entry there.
|
Re: emit_sound but with customizable sound parameters like in sentences.txt
There's a pitch paramater in emit_sound function.
More info here https://www.amxmodx.org/api/amxmodx/emit_sound |
Re: emit_sound but with customizable sound parameters like in sentences.txt
Changing pitch alone will make the sound longer and that's not what I need.
|
Re: emit_sound but with customizable sound parameters like in sentences.txt
I'm not sure if this is possible. You will probably need to edit the sound in an audio editor
|
| All times are GMT -4. The time now is 16:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.