[HELP] I'm using QBcore and want to lose my cash when I respawn how could I do that

Whenever I die I only lose my items from my inventory, but I want to lose my money ( cash ) too how could I do that ?

The closest thing I can think of is the wipe inventory function you can enable, not sure if it’ll remove cash upon respawning though.

If you do want to enable this, just go into qb-ambulancejob > config.lua > Line 4

Change this:

Config.WipeInventoryOnRespawn = false

To:

Config.WipeInventoryOnRespawn = true

nope it just removes the inventory items… do you know the variables??

in ambulance job, client main.lua row 36 there is the wipeinventory, somethingneeds to be added like removecash

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.