From 22d26cbc588c6856a62b76578b4d757fa1353a60 Mon Sep 17 00:00:00 2001 From: Pickle <111543470+PickleModifications@users.noreply.github.com> Date: Sat, 10 Dec 2022 17:16:11 -0500 Subject: [PATCH] Fixed QBCore issues. --- bridge/qb/server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/qb/server.lua b/bridge/qb/server.lua index 8a8907c..3dc317f 100644 --- a/bridge/qb/server.lua +++ b/bridge/qb/server.lua @@ -22,7 +22,7 @@ end function AddItem(source, name, amount) local xPlayer = QBCore.Functions.GetPlayer(source) - if name == "money" then + if name == "money" or name == "cash" then return xPlayer.Functions.AddMoney(amount) else return xPlayer.Functions.AddItem(name, amount)