How To Work with cash or bank, not with rollcash ?
QBCore.Functions.CreateUseableItem('rollcash', function(source, item) local src = source local Player = QBCore.Functions.GetPlayer(src) Player.Functions.RemoveItem('rollcash', 1) Player.Functions.AddMoney('cash', item.info.worth) end)
Last updated 7 months ago