Silly question I'm sure *sigh*
With emit_sound(), how can I make a sound that only the user it is defined for can hear, or is that not possible?
Thanks, Mugwump |
Just do client_cmd("spk ^"%s^", sound) in that case
|
Hmm, so this :
new sound[32] = {"buttons/button10.wav"} client_cmd( id, "spk ^"%s^", sound ) would play that sound only to id , is that right? Thank you, Mugwump |
yup, u can skip the {} tho
|
Great, thanks guys. :)
-Mugwump |
I replaced the emit_sound with the code and it hasn't changed a thing, other players can still hear that button10.wav file being played... :(
Muwgump |
Make sure id isn't 0 :D
and you aren't executing it on every player in any another way :D |
Unfortunately I'm sure that id is not 0 and that its only being exectuted for the one id executing the command ... :(
Mugwump |
that makes no sense because a client command is only executed on a single client. can you paste the code you're using?
you might have it in some kind of loop that passes it to everyone. |
| All times are GMT -4. The time now is 14:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.