Description
This plugin prevents survivors from helping themselves and teammates while taking damage.
Some examples where this is allowed without the plugin:
- Helping an incapacitated teammate from fire/spitter while taking damage.
- Healing yourself or a teammate while taking damage.
- Defibrillating someone while taking damage.
Features
- Allow configuring plugin behavior on humans or bots only.
Cvars
A configuration file named "
l4d_prevent_action_damage.cfg" will automatically be created for you upon the first run in the "
\cfg\sourcemod\" folder.
PHP Code:
// Which type of client (human/bot) should the plugin affect.
// 0 = NONE, 1 = HUMAN, 2 = BOT, 3 = BOTH.
// Add numbers greater than 0 for multiple options.
// Example: "3", enables for Humans and Bots.
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "3.000000"
l4d_prevent_action_damage_client_type "3"
// Enable/Disable the plugin.
// 0 = Disable, 1 = Enable.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_prevent_action_damage_enable "1"
Admin Commands
- sm_print_cvars_l4d_prevent_action_damage => Print the plugin related cvars and their respective values to the console. (z flag required)
Change Log
Notes
- The animation may glitch.
Post Reply
- Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.
Installation
- Put the "l4d_prevent_action_damage.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.