How I can make sound on the mapa?
Or how I can make ambient sound on the map, and remove it when that requirement? I have created ent, and want create ambient sound near this ent, AND remove this sound when destroy my ent or remove it. https://forums.alliedmods.net/showpo...61&postcount=4
|
Re: How I can make sound on the mapa?
You can use emit sound
PHP Code:
|
Re: How I can make sound on the mapa?
Quote:
|
Re: How I can make sound on the mapa?
[B][I]oh sht. for example: I've used ent spawn..[/I][/B]
Code:
Code:
Code:
And do it without "stopsound" client command![/I][/B] |
Re: How I can make sound on the mapa?
Use SND_STOP
PHP Code:
|
Re: How I can make sound on the mapa?
Quote:
Quote:
|
Re: How I can make sound on the mapa?
[B][I]little offtop: how I can stop sounds in winter environment via emit_sound?[/I][/B]
Code:
|
Re: How I can make sound on the mapa?
Ambience is entity, you must find all ambience entity and set the index of entity in emit_sound
|
Re: How I can make sound on the mapa?
Quote:
But in new round SND_STOP works correctly, and sound wich has been stopped isn't entity.[/I][/B] |
Re: How I can make sound on the mapa?
I'm going to have some research and post the result :)
|
| All times are GMT -4. The time now is 10:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.