Blocking a message
I'm trying to block the "<user> has attacked a teammate" message, and I've tried everything I could think of, which is pretty much only one thing at all.
This: Code:
Code:
I really just guessed that it was the Damage message that reported the team attacks. I suspect that it might have something to do with register_event(), though, but I can't figure out what. Does anyone know? |
Code:
|
I don't think that'd work because the message is sent before you can block it, I believe.
Here's what I did for my Grenade Sack plugin: Code:
Code:
|
Yes, just replace #Cannot_Carry_Anymore with #Game_teammate_attack and i believe that would work.
|
Quote:
|
Thanks for the help, VEN and v3x, it worked. Just curious... how did you guys find that information out?
|
Through this handy little tool: http://forums.alliedmods.net/showthread.php?p=65983
|
Quote:
|
| All times are GMT -4. The time now is 16:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.