Forum

> > CS2D > Scripts > Stop the sv_sound ?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Stop the sv_sound ?

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Re: Stop the sv_sound ?

Apache uwu
User Off Offline

Zitieren
Try using env_sound within the editor. Then with Lua, you may toggle the sound with:

parse("trigger \"env_sound_name\"")


The first trigger will start the sound, while the second time will stop.

alt Re: Stop the sv_sound ?

Alistaire
User Off Offline

Zitieren
user Apache uwu hat geschrieben
Try using env_sound within the editor. Then with Lua, you may toggle the sound with:

parse("trigger \"env_sound_name\"")


The first trigger will start the sound, while the second time will stop.


Actually, if you're running a 30 seconds sound and switch the entity for 1 second, it's gonna run for another 29 seconds.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht