This commit is contained in:
SaengerItsWar 2023-06-20 12:11:52 +02:00
parent fb2d77384b
commit 1e90a9b96f
Signed by: SaengerItsWar
GPG key ID: 2AA301E9EEDC190B
2 changed files with 3 additions and 15 deletions
.github/workflows
scripting

View file

@ -13,7 +13,7 @@ jobs:
- name: Setup SourcePawn Compiler
uses: https://github.com/rumblefrog/setup-sp@master
with:
version: "1.11.x"
version: "1.10.x"
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
- name: Compiling shavit-credits.sp

View file

@ -6,7 +6,7 @@
#pragma semicolon 1
#pragma newdecls required
#define PLUGIN_VERSION "1.5.0"
#define PLUGIN_VERSION "1.4.7"
chatstrings_t gS_ChatStrings;
public Plugin myinfo =
@ -40,12 +40,6 @@ Convar g_cvBPbAmount;
Convar g_cvBPbAmountAgain;
Convar g_cvTasEnabled;
Convar g_cvNewCalc;
Convar g_cvTop10Enabled;
Convar g_cvTop10Amount;
Convar g_cvTop10AmountAgain;
Convar g_cvBonusTop10Enabled;
Convar g_cvBonusTop10Amount;
Convar g_cvBonusTop10AmountAgain;
//globals
char g_cMap[160];
@ -95,13 +89,7 @@ public void OnPluginStart()
g_cvBPbAmountAgain = new Convar("credits_amount_pb_bonus_again", "5.0", "How many point should be given for breaking the own Personal Best Again?", 0, true, 1.0, false);
g_cvTasEnabled = new Convar("credits_tas_enabled", "0", "Enable Store Credits for a TAS Style?", 0, true, 0.0, true, 1.0);
g_cvNewCalc = new Convar("credits_new_calculation", "1", "Enable the New Calculation for the credits?", 0, true, 0.0, true, 1.0);
g_cvTop10Enabled = new Convar("credits_top10_enabled", "1", "Enable Store credits given for being in the Top10 of a map?", 0, true, 0.0, true, 1.0);
g_cvTop10Amount = new Convar("credits_top10_amunt", "10", "How many points should be given for the First Place any other one will be devided through his own place.", 0, true, 1.0, false);
g_cvTop10AmountAgain = new Convar("credits_top10_amunt_again", "5", "How many points should be given for the First Place any other one will be devided through his own place again.", 0, true, 1.0, false);
g_cvBonusTop10Enabled = new Convar("credits_top10_enabled", "1", "Enable Store credits given for being in the Top10 of a map?", 0, true, 0.0, true, 1.0);
g_cvBonusTop10Amount = new Convar("credits_top10_amunt", "10", "How many points should be given for the First Place any other one will be devided through his own place.", 0, true, 1.0, false);
g_cvBonusTop10AmountAgain = new Convar("credits_top10_amunt_again", "5", "How many points should be given for the First Place any other one will be devided through his own place again.", 0, true, 1.0, false);
Convar.CreateConfig("shavit-credits");
}