Skip to content

Commit

Permalink
qb and qbox framework fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AndiyDev authored Aug 31, 2024
1 parent a9ae692 commit b12434f
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 b12434f

Please sign in to comment.