From b802a9b650872f16d1b54b14b5bdcac130bad538 Mon Sep 17 00:00:00 2001 From: Dogan Date: Sun, 19 Jan 2020 22:39:50 +0100 Subject: [PATCH] KnifeRevert: oops --- KnifeRevert/scripting/KnifeRevert.sp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/KnifeRevert/scripting/KnifeRevert.sp b/KnifeRevert/scripting/KnifeRevert.sp index 9bd82e92..8f945594 100644 --- a/KnifeRevert/scripting/KnifeRevert.sp +++ b/KnifeRevert/scripting/KnifeRevert.sp @@ -27,13 +27,13 @@ public Plugin myinfo = public void OnPluginStart() { ConVar cvar; - HookConVarChange((cvar = CreateConVar("sm_kr_enabled", "1", "1 = sm_zabuse is available, 0 = sm_zabuse is not available", FCVAR_NONE, true, 0.0, true, 1.0)), g_cvZAbuse); + HookConVarChange((cvar = CreateConVar("sm_kr_enabled", "1", "1 = sm_kniferevert is available, 0 = sm_kniferevert is not available", FCVAR_NONE, true, 0.0, true, 1.0)), g_cvZAbuse); g_bKnifeRevert = cvar.BoolValue; - HookConVarChange((cvar = CreateConVar("sm_kr_slay", "0", "1 = slays the knifer automatically when sm_zabuse is used, 0 = don't do anything to the knifer", FCVAR_NONE, true, 0.0, true, 1.0)), g_cvSlayKnifer); + HookConVarChange((cvar = CreateConVar("sm_kr_slay", "0", "1 = slays the knifer automatically when sm_kniferevert is used, 0 = don't do anything to the knifer", FCVAR_NONE, true, 0.0, true, 1.0)), g_cvSlayKnifer); g_bSlayKnifer = cvar.BoolValue; - HookConVarChange((cvar = CreateConVar("sm_kr_maxdistance", "150.0", "max distance from the zombie that got knifed forward where infected humans will be rezurrected")), g_cvMaxDistance); + HookConVarChange((cvar = CreateConVar("sm_kr_maxdistance", "200.0", "max distance from the zombie that got knifed forward where infected humans will be rezurrected")), g_cvMaxDistance); g_fMaxDistance = cvar.FloatValue; - HookConVarChange((cvar = CreateConVar("sm_kr_time", "6.0", "max time until sm_zabuse is available after a knife")), g_cvMaxTime); + HookConVarChange((cvar = CreateConVar("sm_kr_time", "6.0", "max time until sm_kniferevert is available after a knife")), g_cvMaxTime); g_fMaxTime = cvar.FloatValue; delete cvar;