About:- Requested by "ddd123".
- Makes bots or players stumble away from fires or acid when they get hurt.
CVars:
Saved to
l4d_push_danger.cfg in your servers
\cfg\sourcemod\ folder.
PHP Code:
// 0=Plugin off, 1=Plugin on.
l4d_push_danger_allow "1"
// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
l4d_push_danger_modes ""
// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
l4d_push_danger_modes_off ""
// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
l4d_push_danger_modes_tog "0"
// What damage type can push a player away: 1=Acid, 2=Burn, 3=Both.
l4d_push_danger_damage_types "3"
// Who should be pushed away from acid/fire damage: 1=Bots, 2=Humans, 3=Both.
l4d_push_danger_types "1"
// Push Away From Danger plugin version.
l4d_push_danger_version
Changes:
Code:
1.1 (17-Jun-2024)
- Added cvar "l4d_push_danger_damage_types" - What damage type can push a player away: 1=Acid, 2=Burn, 3=Both. Default: 3.
- Fixed cvar "l4d_push_danger_allow" having no affect.
- Fixed debug message spam.
- Thanks to "BloodyBlade" for changes.
1.0 (03-Jun-2024)
- Initial release.
Requirements:- Requires: Left 4 DHooks Direct plugin
Installation:DO NOT click 'Get Plugin' or it will fail to compile because this plugin requires Left 4 DHooks Direct!
- Download the .smx file and put into your servers \addons\sourcemod\plugins folder.