Raised This Month: $12 Target: $400
 3% 

HudTextArgs Blocker


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management        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 - 7165 views - 1.9 KB)
__________________

Last edited by joaquimandrade; 05-23-2009 at 09:44.
joaquimandrade is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 05-23-2009 , 02:49   Re: HudTextArgs Blocker
Reply With Quote #2

This shit is very good
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 05-23-2009 , 02:56   Re: HudTextArgs Blocker
Reply With Quote #3

yay
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-23-2009 , 03:00   Re: HudTextArgs Blocker
Reply With Quote #4

Nice plugin, +karma !!
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 05-23-2009 , 03:02   Re: HudTextArgs Blocker
Reply With Quote #5

Quote:
Originally Posted by ConnorMcLeod View Post
Nice plugin, +karma !!
It didn't arrived.

French karma sucks.

I hope eiffel tower falls down.
__________________

Last edited by joaquimandrade; 05-23-2009 at 03:13.
joaquimandrade is offline
{PHILMAGROIN}
Senior Member
Join Date: Aug 2007
Location: In the middle of the des
Old 05-23-2009 , 03:18   Re: HudTextArgs Blocker
Reply With Quote #6

very nice!
__________________
[B]
{PHILMAGROIN} is offline
orange
Senior Member
Join Date: Dec 2005
Old 05-23-2009 , 03:24   Re: HudTextArgs Blocker
Reply With Quote #7

does this help performance of server?, Good job tho
__________________
orange is offline
5c0r-|3i0
Veteran Member
Join Date: Nov 2008
Location: Việt Nam
Old 05-23-2009 , 03:25   Re: HudTextArgs Blocker
Reply With Quote #8

Quote:
By blocking the messages that you consider not useful you will avoid them being sent thus avoiding some network traffic.
.....
5c0r-|3i0 is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-23-2009 , 03:33   Re: HudTextArgs Blocker
Reply With Quote #9

karmageddon! nice plugin, i didnt knew there so many huds Oo (removing useless cvars for me )
__________________
xPaw is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 05-23-2009 , 05:05   Re: HudTextArgs Blocker
Reply With Quote #10

also make a cvar:

hide_all 1/0
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Reply


Thread Tools
Display Modes

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 22:01.


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