View Single Post
Mystik Spiral
Senior Member
Join Date: Oct 2020
Location: Orlando, FL
Old 03-29-2021 , 08:14   Re: [L4D2] suicide blocker
Reply With Quote #11

Quote:
Originally Posted by Spirit_12 View Post
I also noticed this.

PHP Code:
if(JumpCount[victim] > 10)
{
    
//KickClientEx(client,"Have A Nice Day!");
    
JumpCount[victim] = 0;

I do like the kick feature. I think switching the jump count to a ConVar and allowing the kick feature based on a ConVar would be valuable additions to the plugin.
This only needs to be one ConVar. When the jump count ConVar is set to 0, treat the feature as disabled and only kick if the value is > 0.

FYI...there is a similar feature in MasterMind420's Survivor Griefer Protection plugin.
__________________
Mystik Spiral is offline