diff --git a/AntiNoob/scripting/AntiNoob.sp b/AntiNoob/scripting/AntiNoob.sp index 896d8611..e5ff0724 100644 --- a/AntiNoob/scripting/AntiNoob.sp +++ b/AntiNoob/scripting/AntiNoob.sp @@ -223,7 +223,7 @@ public Action Command_AntiNoob(int client, int args) 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); @@ -277,7 +277,7 @@ public void CheckHumanZombieCount() ServerCommand("zr_napalm_time_scale %f", g_fCurrentNapalmDamage); 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++) { @@ -346,7 +346,7 @@ public void OnRoundStart(Event hEvent, const char[] sEvent, bool bDontBroadcast) else 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++) {