About:- Blocks switching to Adrenaline or Pain Pills when given by a teammate.
Thanks:
Cvars:
Saved to
l4d_grenades.cfg in your servers
\cfg\sourcemod\ folder.
PHP Code:
// 0=Plugin off, 1=Plugin on.
l4d_item_equip_allow "1"
// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
l4d_item_equip_modes ""
// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
l4d_item_equip_modes_off ""
// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
l4d_item_equip_modes_tog "0"
// Item Equip - Block Switch version.
l4d_item_equip_version
Changes:
Code:
1.3 (22-Nov-2023)
- Re-released due to the version by "MasterMind420" being deleted.
1.2 (01-Apr-2020)
- Fixed "IsAllowedGameMode" from throwing errors when the "_tog" cvar was changed before MapStart.
1.1 (12-Oct-2019)
- Added "allow" and "mode" cvars to control if the the plugin is enabled.
- If you don't need these, use the "Pills Pass Fix" plugin by "MasterMind420".
1.0 (12-Oct-2019)
- Initial release.
Installation:- Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.