[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