Blocking the name display
I am trying to figure out how to make so when you target someone (in "The Specialists" so im talking about HL coding) it doesn't show their name.
Does anyone by any chance know what the message is called which does this? Because i plan to block it with forwards. |
Re: Blocking the name display
If TS has the event StatusText. I think it that event but i'm not 100% sure.
|
Re: Blocking the name display
Alright, I'll look into that. Thanks a lot.
|
Re: Blocking the name display
Look into the mask plugin that dotnetjunkie released, its in the various plugisn from city17 roleplay in unapproved plugins
|
Re: Blocking the name display
Turns out that StatusText isn't a valid event name for TS...and i looked at that city17 thing...but there is no mask plugin in it...its mentioned...but its not there
|
Re: Blocking the name display
http://wiki.amxmodx.org/index.php/Ha...ts#StatusValue
Not sure if this is the valid TS event though. |
Re: Blocking the name display
It probably uses a HUD message. So capture temp entity events (23), and look for event 29 (TE_TEXTMESSAGE). Then compare the rest of the arguments to the same ones that the specialists uses for its name display, so as not to block regular HUD messages.
|
Re: Blocking the name display
Avalanches seems more logical...mind helping me figure out how to do that?
|
Re: Blocking the name display
register_message
Use that to hook SVC_TEMPENTITY (23). Then use the functions listed on the page to grab info about it. The first byte will be 29 (TE_TEXTMESSAGE) if it is a text message. Here is the format for text messages: Code:
Once you identify it as a TS name display, return PLUGIN_HANDLED to block it, otherwise return PLUGIN_CONTINUE. |
Re: Blocking the name display
Code:
#include <amxmodx> |
| All times are GMT -4. The time now is 04:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.