ItsMods

Full Version: audio via rank.gsc 2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
you play the sound with
self playsound ("mp_level_up");
but how to make it stop playing when another one is starting to play ( as example self playsound ("mp_time_running_out_winning"); )
1. Okay
2. StopSound, StopLocalSound
(04-01-2013, 19:29)SailorMoon Wrote: [ -> ]1. Okay
2. StopSound, StopLocalSound

self StopSound ("mp_level_up");

Code:
******* script compile error *******
Howdy there, fella' - it seems you made a mistake!
Error: unknown function stopsound in maps/mp/gametypes/_rank.gsc
************************************
********************
ERROR: script compile error
unknown function stopsound
maps/mp/gametypes/_rank.gsc