KnifeRevert: oops
This commit is contained in:
parent
3021aae14e
commit
b802a9b650
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user