View Single Post
Plugin Info:     Modification:          Category:          Approver:   Emp` (115)
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 05-23-2009 , 02:47   HudTextArgs Blocker
Reply With Quote #1

HudTextArgs Blocker

description
This is a simple plugin to block messages of the type "HudTextArgs"

Examples:

[IMG]http://img40.**************/img40/4410/hint2.jpg[/IMG]

[IMG]http://img188.**************/img188/7146/hint1.jpg[/IMG]

Why one would use this plugin?

By blocking the messages that you consider not useful you will avoid them being sent thus avoiding some network traffic.

I made this having in mind blocking "Press the BUY key to purchase items" that is sent to clients every round and "You spotted an enemy" or "You killed an enemy. Kill all the enemies to win the round" that i find annoying, in my server.
cvars (valued as 1, means "to be blocked") (changes to them only affect after mapchange/restart)
hint_win_round_by_killing_enemy
hint_press_buy_to_purchase
hint_spotted_an_enemy
hint_use_nightvision
hint_lost_money
hint_removed_for_next_hostage_killed
hint_careful_around_hostages
hint_careful_around_teammates
hint_reward_for_killing_vip
hint_win_round_by_killing_enemy
hint_try_not_to_injure_teammates
hint_you_are_in_targetzone
hint_hostage_rescue_zone
hint_terrorist_escape_zone
hint_ct_vip_zone
hint_terrorist_vip_zone
hint_cannot_play_because_tk
hint_use_hostage_to_stop_him
hint_lead_hostage_to_rescue_point
hint_you_have_the_bomb
hint_you_are_the_vip
hint_out_of_ammo
hint_spotted_a_friend
hint_spotted_an_enemy
hint_prevent_hostage_rescue
hint_rescue_the_hostages
hint_press_use_so_hostage_will_follow
modules
fakemeta
changelog
Version 1.1 - re-arranged the code
Attached Files
File Type: sma Get Plugin or Get Source (hudTextArgsBlock.sma - 7197 views - 1.9 KB)
__________________

Last edited by joaquimandrade; 05-23-2009 at 09:44.
joaquimandrade is offline