Emit Sound at origin?
Hey.
Is it possible to emit a sound from a specific origin for only one player? If so, how? The only thing I need help with is emitting the sound, not finding out the origin... Say "Player2" would emit a sound that only "Player1" could hear from "Player2"s origin Thanks |
Re: Emit Sound at origin?
You can do better : make the player himself emit a sound ;)
|
Re: Emit Sound at origin?
client_cmd( id, "spk PATH" ) // plays wave files
client_cmd( id, "mp3 play PATH" ) // playes mp3 files |
Re: Emit Sound at origin?
|
Re: Emit Sound at origin?
Quote:
|
Re: Emit Sound at origin?
Then, like posted above, your better off just doing a client_cmd(target, "spk ^"misc/haha^"") or something
|
Re: Emit Sound at origin?
If you want the sound to be located, you have to use emit_sound, then, all players that are close enough (depend on attenution) will here the sound.
|
Re: Emit Sound at origin?
Quote:
|
Re: Emit Sound at origin?
The way you want is posssible via client_cmd(id, "spk mysound")
|
Re: Emit Sound at origin?
make a entity and move it to your origin then emit_sound at the entity
|
| All times are GMT -4. The time now is 01:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.