A simple script for QBCore to clean dirty money, marked bills, and marked stacks of cash. Based off of apolo_moneywash by TG_Development. Huge thanks to them for their work and allowing me to share this modified version with the community!
Installation is as simple as adding citra-moneywash
to your resource folder and adding ensure citra-moneywash
to your server.cfg
.
All customization can be done in config.lua
.
- Config.maxLaunderedPerCycle: The total amount of dirty / marked money that can be laundered per restart.
- Config.payoutPercentage: The percentage of actual cash that the player receives. This value should be between 0.0 (0%) and 1.0 (100%).
- Config.ped: The ped stationed at the washing locations. A list of peds can be found here.
- Config.pedVoice: The voice for the ped to use. A list of ped voices can be found here
- Config.enableBlip: Enables / disables blip for ped.
- Config.washAnimation: Animation arguments passed to
progressbar
. This animation will be played while laundering money. - Config.washLocations: Where to spawn peds and launder money. Format should be as follows:
{ coords = vector4(X, Y, Z, W), ped = nil, -- Don't modify. Used to track peds },
- Config.washTime: A random amount of time (in ms) for laundering to take. Format is
math.random(MIN, MAX)
. Can be set to a static time:Config.washtime = 20000 -- 20 seconds