Death Message Block

Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 4444
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

Death Message Block

Post by greenie »

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.

get plugin
get source
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️

βœ… GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to β€œAdmin Commands”