A very simple piece of code that allows you to charge players for actual heists.
You will have to add an export to all your heists
exports['osm-realisticHeists'].triggerHeistDeductions(heistType, heistAmount)
heistType - A reference name for the Heist that triggered the event. Will be shown on notify.
heistAmount - Total amount of heist. (You can configure other stuff in the config of my script
My Discord: https://discord.gg/Q6efb2Pt4W
Checkout other popular QB Scripts: OsmiumFX | QB Scripts (tebex.io)