Forum

> > CS2D > Scripts > Stop the sv_sound ?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Stop the sv_sound ?

4 replies
To the start Previous 1 Next To the start

old Re: Stop the sv_sound ?

Apache uwu
User Off Offline

Quote
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.

old Re: Stop the sv_sound ?

Alistaire
User Off Offline

Quote
user Apache uwu has written
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.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview