Play Sound Only Player Can Hear
hey guys. can you emit sound that only a targeted player can hear?...
|
Re: [HELP] Play Sound Only Player Can Hear
Code:
Or do you mean an ambient sound that changes volume depending on how close you are, for one player only? |
Re: [HELP] Play Sound Only Player Can Hear
Yes, he asked clearly "emit_sound". I personally think it's not possible.
|
Re: [HELP] Play Sound Only Player Can Hear
Quote:
while we're in the subject of client_cmds, is it possible to force bots to use a custom client_cmd? like for example I added an extra weapon in my game and it has a client_cmd for you to obtain it. is it possible to make a bot use it as well to get the extra weapon?... |
Re: [HELP] Play Sound Only Player Can Hear
I assume so. I'm not sure. Please try.
Otherwise you could always call the function that gives the player this weapon from another plugin using callfunc_begin() callfunc_push_*() callfunc_end() or by using CreateOneForward() and ExecuteForward(). I'm not so sure about using the weapon though. That might be more complicated. Depending on how the bot is constructed. |
| All times are GMT -4. The time now is 18:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.