FM_PlaybackEvent for receiver
I want to use FM_PlaybackEvent
Code:
(int flags, const edict_t *pInvoker, unsigned short eventindex, float delay, float *origin, float *angles, float fparam1, float fparam2, int iparam1, int iparam2, int bparam1, int bparam2) Because I need to set SUPERCEDE to block sound. Is there any way? Maybe another function on Reapi? Maybe another method? |
Re: FM_PlaybackEvent for receiver
what are you trying to achieve?
|
Re: FM_PlaybackEvent for receiver
One could use rh_emit_sound2 or emitsound2 module if using official hlds, to emit a sound from the invoker to a receiver.
However, if what you're trying to do is replace a gun's shoot sound, just supercede"ing" the playbackevent won't stop the sound from being played because it's also handled in the client-side. |
Re: FM_PlaybackEvent for receiver
Quote:
Problem? That function only appears invoker, not receiver. I saw a server having this option. So, it's possible to do it. Quote:
That's why I need receiver. |
Re: FM_PlaybackEvent for receiver
|
All times are GMT -4. The time now is 21:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.