Any way to overwrite hudmessages from other plugins?
I want to make a plugin that will display a hud message and remove and prevent every other hud channels from other plugins until its time is up and others are called again.
|
Re: Any way to overwrite hudmessages from other plugins?
http://amxmodx.org/api/message_const#te-textmessage
SVC_TEMPENTITY message with these params is what gets sent when you send a hud message. Hooking it with register_message() might work. You have to check if the first param is TE_TEXTMESSAGE and the second one is a desired channel. |
Re: Any way to overwrite hudmessages from other plugins?
It won't work, the message from the other plugins doesn't get sent to other plugins unless you use emessage. However you can hook it with orpheu or a(nother) module.
|
| All times are GMT -4. The time now is 18:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.