Raised This Month: $ Target: $400
 0% 

Remove "x attacked a teammate" message


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
PreDominance
Member
Join Date: Jul 2014
Old 08-07-2014 , 11:33   Re: Remove "x attacked a teammate" message
Reply With Quote #4

You could prehook the takedamage event, check if the victim and attacker teams are equal, deal the damage, then return plugin_handled. This should prevent the message from showing, I think.
PreDominance 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 13:15.


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