I've always had this idea floating around, now i finally got around and coded it.
As Incapitated Survivor with Pills on him, this Plugin allows you to press USE [DUCK for Sourcemod stable users] to swallow them and stand back up. It advertises itself to incapped Players and notifies all if someone used Pills to get up.
Available both in stable Sourcemod and Sourcemod 1.3 development flavours.
Note: Since version 1.0.1 it is compatible with plugins like admincheat
Convars:
l4d_incappedpillspop_delaytime (default 2) - how long before an incapped Survivor gets the announcement and can use his pills
Changelog:
0.1.0 - first public release
0.1.1 - this is now the first plugin to correctly use the incap counter, woot
0.1.2 - added some round end checks so you cant pop em after round end.
0.1.3 - now the 'is incapped' music stops playing on popping pills
0.1.4 - does not work while being revived anymore
1.0.0 - first final release. fixed stuck 'being revived' after sucessfull revive bug
1.0.1 - fixed errors about peoples "rage on incap", also made it compatible with admin cheats
1.0.2 - added new delay cvar, moved SM1.2 button to DUCK
Last edited by AtomicStryker; 10-13-2009 at 05:18.