Raised This Month: $ Target: $400
 0% 

Blocking the name display


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 10-29-2006 , 18:22   Re: Blocking the name display
Reply With Quote #9

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:
#define TE_TEXTMESSAGE      29 // short 1.2.13 x (-1 = center) // short 1.2.13 y (-1 = center) // byte Effect 0 = fade in/fade out             // 1 is flickery credits             // 2 is write out (training room) // 4 bytes r,g,b,a color1   (text color) // 4 bytes r,g,b,a color2   (effect color) // ushort 8.8 fadein time // ushort 8.8  fadeout time // ushort 8.8 hold time // optional ushort 8.8 fxtime   (time the highlight lags behing the leading text in effect 2) // string text message      (512 chars max sz string)

Once you identify it as a TS name display, return PLUGIN_HANDLED to block it, otherwise return PLUGIN_CONTINUE.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
 



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 04:58.


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