Raised This Month: $95 Target: $400
 23% 

Death Message Block


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   v3x (159)
Jordan44053
Junior Member
Join Date: Aug 2005
Old 07-08-2006 , 19:57   Death Message Block
Reply With Quote #1

Death Message Block

Purpose
There are a large variety of death message blocks available, but all of them* use the set_msg_block native, which is unreliable and easily bypassed. Even a simple stock such as user_silentkill will turn off such a death message block.

This plug-in, however, instead registers the message and blocks them as they are called. Since it doesn't use set_msg_block, the only way to deactivate the death message block is to alter the cvar (mp_deathblock) or to pause the plug-in.

* As far as I know.

Instructions
All interaction with the plug-in is done through Cvars.

Generic Cvars (All Mods):
mp_deathblock - Turns the death message block on or off. Greater than zero is on, zero or less is off.

The Specialists Cvars:
mp_tsmessageblock - Blocks certain TSMessages. This removes the messages such as "2 frags for Jordan44053, Kung-Fu style!" but doesn't effect "Press Fire To Play!" or the countdown to that.


This plug-in has only been tested in The Specialists but should work with all mods.

Update 1.1
Engine include removed as it is not needed.

Update 1.2
Engine is included in 1.71 and below, but not in 1.75 or higher as it was moved to amxmodx.inc in 1.75. This should be it for the updates.
Attached Files
File Type: sma Get Plugin or Get Source (deathmsgblock.sma - 1766 views - 1.2 KB)
__________________

Last edited by Jordan44053; 07-09-2006 at 01:55.
Jordan44053 is offline
Shurik3n
Member
Join Date: Feb 2006
Old 07-08-2006 , 20:07   Re: Death Message Block
Reply With Quote #2

Nice plugin, I have used Avalanche's death message blocker but it stop blocking if user_silentkill is called. This will be good for TSRP servers that have cyanide or whatever and want to use a death message blocker.
Shurik3n is offline
Throstur
Senior Member
Join Date: Nov 2004
Location: Iceland
Old 07-13-2006 , 13:56   Re: Death Message Block
Reply With Quote #3

How about a description of what the plugin has as an effect on the game?
__________________
Throstur is offline
Send a message via AIM to Throstur Send a message via MSN to Throstur
Jordan44053
Junior Member
Join Date: Aug 2005
Old 07-14-2006 , 00:02   Re: Death Message Block
Reply With Quote #4

A death message is the text/image that appears in the top right corner when you kill someone. This hides that very reliably, and if you're running The Specialists and the Cvar is enabled, it also hides TSMessages (2 frags for <player>, Kung-Fu Style!), but doesn't hide the countdown to spawn in TS.
__________________
Jordan44053 is offline
Xerxes
Member
Join Date: Jun 2005
Old 08-07-2006 , 10:28   Re: Death Message Block
Reply With Quote #5

Just a suggestion if you want to, let the admins see the kills incase it's not already in there.
Xerxes is offline
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 14:21.


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