Raised This Month: $ Target: $400
 0% 

Death Message Block


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   v3x (159)
Jordan44053
Junior Member
Join Date: Aug 2005
Old 07-08-2006 , 18: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 - 2325 views - 1.2 KB)
__________________

Last edited by Jordan44053; 07-09-2006 at 00:55.
Jordan44053 is offline
 



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 17:56.


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