Raised This Month: $51 Target: $400
 12% 

Emit_sound but different sound on every client


Post New Thread Reply   
 
Thread Tools Display Modes
lexzor
Veteran Member
Join Date: Nov 2020
Old 06-12-2022 , 13:51   Re: Emit_sound but different sound on every client
Reply With Quote #11

i don't think it s possible to emit different sounds for all players using 1 emit_sound, you must do it for each one. have you tried with orpheu?

Last edited by lexzor; 06-12-2022 at 13:52.
lexzor is offline
Dexon
Member
Join Date: Aug 2019
Old 06-12-2022 , 14:19   Re: Emit_sound but different sound on every client
Reply With Quote #12

I havent tried it yet, but I was also thinking about that. Ill give it a try soon.
Anyway, thanks for help.
Dexon is offline
Shadows Adi
AlliedModders Donor
Join Date: Aug 2019
Location: Romania
Old 06-13-2022 , 03:55   Re: Emit_sound but different sound on every client
Reply With Quote #13

You can use rh_emit_sound2() from reAPI library ( reHLDS needed ).

Code:
recipient   Recipient index or use 0 to make all clients hear it
__________________


Accepting Paid Requests, contact PM.

MVP Of The Round View project on GITHUB / AlliedModders
CSGO REMAKE ~ CSGO MOD [STABLE + SOURCE CODE]
Shadows Adi is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 06-13-2022 , 05:53   Re: Emit_sound but different sound on every client
Reply With Quote #14

See here, without ReHLDS:

https://forums.alliedmods.net/showthread.php?t=238457
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
Dexon
Member
Join Date: Aug 2019
Old 06-17-2022 , 12:06   Re: Emit_sound but different sound on every client
Reply With Quote #15

Thank you both for the answers.
Dexon is offline
Reply



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 11:18.


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