Skip to content

Commit

Permalink
Updated version to 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ValMadBox committed Feb 3, 2024
1 parent 28ca307 commit 35a00a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions CCSPlayerExtension.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using CounterStrikeSharp.API;
using CounterStrikeSharp.API.Core;
using CounterStrikeSharp.API.Modules.Memory;
using CounterStrikeSharp.API.Modules.Utils;

namespace PlayersBet
{
Expand All @@ -17,11 +14,6 @@ public static void AddMoney(this CCSPlayerController player, int amount)
{
finalAmount = 0;
}
// TODO: @val: Add config to set max money
//else if (finalAmount > 16000)
//{
// finalAmount = 16000;
//}

player.InGameMoneyServices.Account = finalAmount;
StateChanger.UpdateMoney(player);
Expand Down
2 changes: 1 addition & 1 deletion PlayersBet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace PlayersBet;
public class PlayersBet: BasePlugin
{
public override string ModuleName => "PlayersBet";
public override string ModuleVersion => "1.0.1";
public override string ModuleVersion => "1.1.0";
public override string ModuleAuthor => "Dliix66";
public override string ModuleDescription => "Allow players to bet money on a team for the round.";

Expand Down

0 comments on commit 35a00a3

Please sign in to comment.