rtv: fix typos

This commit is contained in:
dogan 2020-06-10 13:03:41 +02:00
parent a91ad11ced
commit 6911b31afd

View File

@ -78,8 +78,8 @@ public void OnPluginStart()
LoadTranslations("rockthevote.phrases");
LoadTranslations("basevotes.phrases");
g_Cvar_Steam_Needed = CreateConVar("sm_rtv_steam_needed", "0.65", "Percentage of Steam players needed to rockthevote (Def 65%)", 0, true, 0.05, true, 1.0);
g_Cvar_NoSteam_Needed = CreateConVar("sm_rtv_nosteam_needed", "0.45", "Percentage of No-Steam players needed to rockthevote (Def 45%)", 0, true, 0.05, true, 1.0);
g_Cvar_Steam_Needed = CreateConVar("sm_rtv_steam_needed", "0.65", "Percentage of Steam players added to rockthevote calculation (Def 65%)", 0, true, 0.05, true, 1.0);
g_Cvar_NoSteam_Needed = CreateConVar("sm_rtv_nosteam_needed", "0.45", "Percentage of No-Steam players added to rockthevote calculation (Def 45%)", 0, true, 0.05, true, 1.0);
g_Cvar_MinPlayers = CreateConVar("sm_rtv_minplayers", "0", "Number of players required before RTV will be enabled.", 0, true, 0.0, true, float(MAXPLAYERS));
g_Cvar_InitialDelay = CreateConVar("sm_rtv_initialdelay", "30.0", "Time (in seconds) before first RTV can be held", 0, true, 0.00);
g_Cvar_Interval = CreateConVar("sm_rtv_interval", "240.0", "Time (in seconds) after a failed RTV before another can be held", 0, true, 0.00);
@ -401,7 +401,7 @@ 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] Caculated on %d Active Steam Players * %f Ratio = %d", iVotersSteam, GetConVarFloat(g_Cvar_Steam_Needed), iVotesNeededSteam);
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);
return Plugin_Handled;