From 4643f44cb1698852551211aa763bd19e5aacf077 Mon Sep 17 00:00:00 2001 From: dogan Date: Tue, 14 Jul 2020 14:49:41 +0200 Subject: [PATCH] rtv: Neon still doesnt like digits + print to all when rtv is enabled after initial delay of map start or rtv vote --- mapchooser_extended/scripting/rockthevote_extended.sp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mapchooser_extended/scripting/rockthevote_extended.sp b/mapchooser_extended/scripting/rockthevote_extended.sp index 0ef59c8b..85ac9209 100644 --- a/mapchooser_extended/scripting/rockthevote_extended.sp +++ b/mapchooser_extended/scripting/rockthevote_extended.sp @@ -269,6 +269,7 @@ void AttemptRTV(int client) public Action Timer_DelayRTV(Handle timer) { g_RTVAllowed = true; + PrintToChatAll("[RTVE] RockTheVote is available now!"); } void StartRTV() @@ -401,8 +402,8 @@ public Action Command_DebugRTV(int client, int args) int iVotesNeededTotal = iVotesNeededSteam + iVotesNeededNoSteam; ReplyToCommand(client, "[RTVE] Currently %d Players needed to start a RTV vote.", iVotesNeededTotal); - ReplyToCommand(client, "[RTVE] Calculated on %d Active Steam Players * %f Ratio = %d", iVotersSteam, GetConVarFloat(g_Cvar_Steam_Needed), iVotesNeededSteam); - ReplyToCommand(client, "[RTVE] + on %d Active No Steam Players * %f Ratio = %d.", iVotersNoSteam, GetConVarFloat(g_Cvar_NoSteam_Needed), iVotesNeededNoSteam); + ReplyToCommand(client, "[RTVE] Calculated on %d Active Steam Players * %.2f Ratio = %d", iVotersSteam, GetConVarFloat(g_Cvar_Steam_Needed), iVotesNeededSteam); + ReplyToCommand(client, "[RTVE] + on %d Active No Steam Players * %.2f Ratio = %d.", iVotersNoSteam, GetConVarFloat(g_Cvar_NoSteam_Needed), iVotesNeededNoSteam); return Plugin_Handled; }