Skip to content

Commit

Permalink
Merge pull request #71 from AndiyDev/main
Browse files Browse the repository at this point in the history
qb and qbox framework fix
  • Loading branch information
uShifty authored Aug 31, 2024
2 parents a9ae692 + b12434f commit 42da835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/framework.lua
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function AddMoney(Player, Amount, Type, comment)
end

function RemoveMoney(Player, Amount, Type, comment)
if Framework == 'qb' and Framework == 'qbx' then
if Framework == 'qb' or Framework == 'qbx' then
local currentAmount = Player.Functions.GetMoney(Type)
if currentAmount >= Amount then
Player.Functions.RemoveMoney(Type, Amount, comment)
Expand Down

0 comments on commit 42da835

Please sign in to comment.