EventScripts-Emulator
EventScripts-Emulator copied to clipboard
es_stopsound
es_stopsound does not seem to do anything. If I currently have a sound playing and I wish for it to stop playing using the es_stopsound it won't stop the sound that is playing.
This is the code I am using in my block: es_playsound event_var(userid) ambient/atmosphere/city_skypass1.wav 1.0 es_delayed 1.5 es_stopsound ambient/atmosphere/city_skypass1.wav
I have also tried other versions, of the stopsound, inserting userids, adding 1 at the end etcetera, just to be sure the syntax wasn't just changed from the original. Hopefully this is possible to fix :-)
(The game I tested it on was CS:GO)