AntiNoob: changes messages a little
This commit is contained in:
parent
1a2374cb20
commit
26013b6147
@ -223,7 +223,7 @@ public Action Command_AntiNoob(int client, int args)
|
|||||||
return Plugin_Handled;
|
return Plugin_Handled;
|
||||||
}
|
}
|
||||||
|
|
||||||
Format(cAdminNotification, sizeof(cAdminNotification), "{cyan}[AntiNoob]{white} Currently boosting knockback by {red}%d%%{white}.", RoundToNearest((g_fCurrentKnockbackBoost - 1.0) * 100.0));
|
Format(cAdminNotification, sizeof(cAdminNotification), "{cyan}[AntiNoob]{white} Currently boosting knockback by {red}%.2f%%{white}.", ((g_fCurrentKnockbackBoost - 1.0) * 100.0));
|
||||||
|
|
||||||
CPrintToChat(client, "%s", cAdminNotification);
|
CPrintToChat(client, "%s", cAdminNotification);
|
||||||
|
|
||||||
@ -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:%.2f{white}.", RoundToNearest(g_fKnockbackMidRoundBoost * 100.0), g_fMidRoundRatio);
|
Format(cAdminNotification, sizeof(cAdminNotification), "{cyan}[AntiNoob]{white} Adding an additional {red}%.2f%%{white} mid round knockback boost because the Human:Zombie Ratio exceeded {red}1:%.2f{white}.", g_fKnockbackMidRoundBoost * 100.0, g_fMidRoundRatio);
|
||||||
|
|
||||||
for(int i = 1; i <= MaxClients; i++)
|
for(int i = 1; i <= MaxClients; i++)
|
||||||
{
|
{
|
||||||
@ -346,7 +346,7 @@ public void OnRoundStart(Event hEvent, const char[] sEvent, bool bDontBroadcast)
|
|||||||
else
|
else
|
||||||
PerformReset();
|
PerformReset();
|
||||||
|
|
||||||
Format(cAdminNotification, sizeof(cAdminNotification), "{cyan}[AntiNoob]{white} Starting to boost this round by {red}%d%%{white} knockback increase.", RoundToNearest((g_fCurrentKnockbackBoost - 1.0) * 100.0));
|
Format(cAdminNotification, sizeof(cAdminNotification), "{cyan}[AntiNoob]{white} Starting to boost this round by {red}%.2f%%{white} knockback increase.", ((g_fCurrentKnockbackBoost - 1.0) * 100.0));
|
||||||
|
|
||||||
for(int i = 1; i <= MaxClients; i++)
|
for(int i = 1; i <= MaxClients; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user