Raised This Month: $ Target: $400
 0% 

Solved emit_sound help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
thebest24
Member
Join Date: Sep 2018
Location: Georgia
Old 07-12-2022 , 04:26   emit_sound help
Reply With Quote #1

hi again. i want add sound effects on menu, when you have not access to item and select that it will play no access sound for that player, but when i put sound all players can hear it.

i use this code for sound

emit_sound(id, CHAN_STATIC, "ambience/noaccess.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)

and 1 player plays it everyone hear that how can i make it only for that player?
or is there other code for it?
__________________
Hello!

Last edited by thebest24; 07-12-2022 at 04:58.
thebest24 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode