Skip to content

Commit

Permalink
Fixed QBCore issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
PickleModifications authored Dec 10, 2022
1 parent 2783f86 commit 22d26cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge/qb/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 22d26cb

Please sign in to comment.