From b12434faf911e7c2842f0e5f680cad870a4858cc Mon Sep 17 00:00:00 2001 From: AndiyDev <153193500+AndiyDev@users.noreply.github.com> Date: Sat, 31 Aug 2024 10:02:34 +0200 Subject: [PATCH] qb and qbox framework fix --- server/framework.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/framework.lua b/server/framework.lua index 4da5ec6..cf7a040 100644 --- a/server/framework.lua +++ b/server/framework.lua @@ -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)