Disable HUD at ban
Hi.
I have plugin which ban to AmxBans due to high ping. I want to disable HUD message BAN only for this plugin (sometimes many players have high ping, and on server HUD only spam's). I know, that i can change show_activity at ban moment, but it's not good solution. Any ideas? |
Re: Disable HUD at ban
That will involve editing both AMXBans and your high ping plugin. The easiest way would be to alter AMXBans to check the ban reason and then not show the HUD message when it equals a specific reason
|
Re: Disable HUD at ban
Ok. So i have that code in AmxBans:
Code:
case 1:Code:
if ( get_pcvar_num(pcvar_show_hud_messages) == 1 && ban_reason != "Ping") |
Re: Disable HUD at ban
containi(ban_reason, "ping") != -1
|
| All times are GMT -4. The time now is 21:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.