parent
fb2d77384b
commit
1e90a9b96f
2 changed files with 3 additions and 15 deletions
2
.github/workflows/store.yml
vendored
2
.github/workflows/store.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue