AN: neon doesnt like digits
This commit is contained in:
parent
26e03a5de9
commit
fa0b1a7c44
@ -95,7 +95,7 @@ public void OnPluginStart()
|
|||||||
g_fNapalmMidRoundReduction = cvar.FloatValue;
|
g_fNapalmMidRoundReduction = cvar.FloatValue;
|
||||||
HookConVarChange((cvar = CreateConVar("sm_an_kb_midround", "5.0", "knockback boost in procent when mid round help is performed (stacking)")), g_cvKnockbackMidRoundBoost);
|
HookConVarChange((cvar = CreateConVar("sm_an_kb_midround", "5.0", "knockback boost in procent when mid round help is performed (stacking)")), g_cvKnockbackMidRoundBoost);
|
||||||
g_fKnockbackMidRoundBoost = cvar.FloatValue / 100.0;
|
g_fKnockbackMidRoundBoost = cvar.FloatValue / 100.0;
|
||||||
HookConVarChange((cvar = CreateConVar("sm_an_midroundratio", "1.01", "human:zombie amount ratio to perform mid round help, x = zombie")), g_cvMidRoundRatio);
|
HookConVarChange((cvar = CreateConVar("sm_an_midroundratio", "1.011", "human:zombie amount ratio to perform mid round help, x = zombie")), g_cvMidRoundRatio);
|
||||||
g_fMidRoundRatio = cvar.FloatValue;
|
g_fMidRoundRatio = cvar.FloatValue;
|
||||||
delete cvar;
|
delete cvar;
|
||||||
|
|
||||||
@ -277,7 +277,7 @@ public void CheckHumanZombieCount()
|
|||||||
ServerCommand("zr_napalm_time_scale %f", g_fCurrentNapalmDamage);
|
ServerCommand("zr_napalm_time_scale %f", g_fCurrentNapalmDamage);
|
||||||
|
|
||||||
char cAdminNotification[256];
|
char cAdminNotification[256];
|
||||||
Format(cAdminNotification, sizeof(cAdminNotification), "{cyan}[AntiNoob]{white} Adding an additional {red}%d%%{white} mid round knockback boost because the Human:Zombie Ratio exceeded {red}1:%f{white}.", RoundToNearest(g_fKnockbackMidRoundBoost * 100.0), g_fMidRoundRatio);
|
Format(cAdminNotification, sizeof(cAdminNotification), "{cyan}[AntiNoob]{white} Adding an additional {red}%d%%{white} mid round knockback boost because the Human:Zombie Ratio exceeded {red}1:%.2f{white}.", RoundToNearest(g_fKnockbackMidRoundBoost * 100.0), g_fMidRoundRatio);
|
||||||
|
|
||||||
for(int i = 1; i <= MaxClients; i++)
|
for(int i = 1; i <= MaxClients; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user