Update shavit-credits.sp

This commit is contained in:
Dustin 2019-11-25 08:25:42 +01:00 committed by GitHub
parent 6f38ea3640
commit 47dcc307d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,7 @@ public void OnAllPluginsLoaded()
public void OnPluginStart()
{
LoadTranslations("shavit-credits.phrases");
CreateConVar("shavit_credtis_version", PLUGIN_VERSION, "Soucemod Store : Shavit Credits for records", FCVAR_SPONLY | FCVAR_DONTRECORD | FCVAR_NOTIFY);
CreateConVar("shavit_credtis_version", PLUGIN_VERSION, "Soucemod Store : Shavit Credits for records", FCVAR_NOTIFY | FCVAR_DONTRECORD);
g_cvNormalEnabled = new Convar("credits_enable_normal", "1", "Enable Store credits given for finishing a map?", 0, true, 0.0, true, 1.0);
g_cvWREnabled = new Convar("credits_enable_wr", "1", "Enable Store credits given for greaking the map Record?", 0, true, 0.0, true, 1.0);
g_cvEnabledPb = new Convar("credits_enable_pb", "1", "Enable Store credits given for breaking the map Personal Best?", 0, true, 0.0, true, 1.0);
@ -283,4 +283,4 @@ public void Shavit_OnWorldRecord(int client, int style, float time, int jumps, i
Shavit_PrintToChat(client, "%t", "BonusWorldRecord", gS_ChatStrings.sVariable, iCredits, gS_ChatStrings.sText);
}
}
}
}