how to block SendAudio?
i do
PHP Code:
PHP Code:
|
Re: how to block SendAudio Event?
PHP Code:
|
Re: how to block SendAudio Event?
have you tested before post?
|
Re: how to block SendAudio Event?
No, but when you return PLUGIN_HANDLED on an event, you just block it :)
|
Re: how to block SendAudio Event?
No, it blocks nothing
|
Re: how to block SendAudio Event?
Block a message doesn't block the corresponding event from being sent, you have to think to another way to do what you wanna do.
|
Re: how to block SendAudio Event?
"Block a message doesn't block" anything at all, even a message itself
1st plugin returns PLUGIN_HANDLED to event, 2nd plugin below 1st one still gets the event |
Re: how to block SendAudio Event?
Quote:
It actually blocks the sound from being sent, as a player you can't hear it. |
Re: how to block SendAudio Event?
Quote:
that's why i tried working with messages |
Re: how to block SendAudio?
If you block a SendAudio message using register_message and returning PLUGIN_HANDLED, sound is not sent, that's what i wrote since the begining.
But events are called in plugins, that's what you noticed and you are right. So, depending on what you want to do, you have to think differently. |
| All times are GMT -4. The time now is 07:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.