View Single Post
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 01-21-2023 , 13:46   Re: [L4D & L4D2] Incapped Weapons Patch (1.23) [08-Jan-2023]
Reply With Quote #71

Quote:
Originally Posted by Franco20 View Post
Does anyone know how to remove the option of using pills and adrenaline when they are incapacitated?
Quote:
Originally Posted by Silvers View Post

Cvars:

Saved to l4d_incapped_weapons.cfg in your servers \cfg\sourcemod\ folder.

PHP Code:
// Empty string to allow all. Prevent these weapon IDs from being used while incapped. See below for details.
// L4D2: default blocks all medkits/upgrade ammo. To block grenades add "13,14,25"
l4d_incapped_weapons_restrict "12,24,30,31" 
Weapon Restriction Cvar:

The cvar l4d_incapped_weapons_restrict uses Weapon IDs to restrict their usage. String must be comma separated.

Complete list:

Spoiler
__________________
HarryPotter is offline