Config settings
Config = {}
Config.Debug = false -- Set to true if you want to see debug messages
Config.VersionCheck = true -- Set to false if you don't want console notifications when update is available
Config.Framework = "esx"
--[[
Supported Frameworks:
• esx | https://github.com/esx-framework/esx-legacy
• qb | https://github.com/qbcore-framework/qb-core
]]
Config.FrameworkEvents = { -- Change these events if you changed their name in your framework script
esx = {
resource_name = 'es_extended',
main = 'esx:getSharedObject',
load = 'esx:playerLoaded',
job = 'esx:setJob'
},
qbcore = {
resource_name = 'qb-core',
main = 'QBCore:GetObject',
load = 'QBCore:Client:OnPlayerLoaded',
job = 'QBCore:Client:OnJobUpdate',
gang = 'QBCore:Client:OnGangUpdate',
}
}
Config.UseItem = false -- Whether instead of account money items should be removed when washing money (use when you don't have black money as account)
Config.ItemName = "markedbills" -- Item that will be "washed". Works only with Config.UseItem set to true ⚠️
Config.minMoney = 10000 -- Minimum black money player has to own to start washing
Config.maxMoney = 20000 -- Maximum black money player can wash within one course ⚠️ WITHOUT BONUS! ⚠️
Config.EnableBonus = true -- Should there be bonus for amount of courses made in a row (bonus is equal to [number_of_course / 10 * base_money] and is summed with base amount eg. 10 course in a row = 100% more than after first course)
Config.maxAfterBonus = 100000 -- Maximum black money player can wash within one course ⚠️ INCLUDING BONUS ⚠️ Don't touch if Config.EanbleBonus is set to false
Config.BlackMoneyName = "blackmoney" -- ⚠️ QB ONLY ⚠️ Name for black money account.
Config.WashPercent = 80 -- [1-100%] How much normal money will the player get from washing x amount of black money eg. for 100.000$ black money he/she will get 100.000$ clean money
Config.RankExtraPercent = { -- ⚠️ ESX ONLY ⚠️ Players with specific groups will get more or less money from washing
["mod"] = 5, -- This will be Config.WashPercent + 5% so 85% in total
["admin"] = 10 -- This will be Config.WashPercent + 10% so 90% in total
}
Config.Cooldown = 1500 -- Cooldown in ms between starting and stopping washing. It's good to set it to around 500-1000 to avoid any exploits
Config.MapBlips = false -- Display washing start positions on map
Config.BlipsOnlyForWhitelist = true -- Display blips on map only for players capable of washing in specific position
Config.SendSMS = false -- Set to true and adjust the function inside extra/sendsms.lua to work with your phone or set to false if you don't want to send message with code
Config.Notifications = "okokNotify"
--[[
Supported Notifications:
• esx
• qb
• okokNotify
• pNotify
• ps-ui
]]
Config.VehicleModel = "burrito" -- Spawn name of vehicle that will be used to wash money. Leave empty if you dont want vehicle at all.
Config.CheckVehicle = true -- Whether check if player is inside the spawned vehicle. Set to false if you want to allow using other vehicles when delivering a package or if Config.VehicleModel is empty
Config.WashStartPositions = {
[1] = {
coords = vector3(-771.83, 351.68, 88.0),
whitelistedJobs = {"gang", "mafia", "ballas"}, -- Only these jobs will be able to start washing money. Leave empty if you want everyone to be able to wash money
vehicleSpawnPoint = {
{coords = vector3(-777.18, 373.71, 87.88), radius = 1.0, heading = 180.0} --coords where the vehicle will spawn with heading
}
},
[2] = {
coords = vector3(-784.32, 351.76, 88.0),
whitelistedJobs = {},
vehicleSpawnPoint = {
{coords = vector3(-773.72, 373.55, 87.88), radius = 1.0, heading = 180.0}
}
}
}
Config.MapBlip = { -- https://docs.fivem.net/docs/game-references/blips/
labelStart = "Money Wash",
labelPoint = "Delivery Point",
sprite = 500,
scale = 0.8,
color = 52
}
Config.DeliveryPoints = {
{coords = vector3(-923.97, 402.25, 78.18)},
{coords = vector3(-1179.0, 456.43, 85.7)},
{coords = vector3(-1454.88, 534.51, 118.4)},
{coords = vector3(-1790.51, 352.98, 87.62)},
{coords = vector3(-1615.0, 17.7, 61.22)},
{coords = vector3(-1451.2, -219.68, 47.83)},
{coords = vector3(-970.3, -181.35, 36.85)},
{coords = vector3(-488.72, -58.9, 39.04)},
{coords = vector3(148.37, -126.8, 53.88)},
{coords = vector3(363.62, -75.93, 66.36)},
{coords = vector3(303.43, 71.94, 93.41)},
{coords = vector3(259.04, 277.32, 104.68)},
{coords = vector3(350.25, 349.65, 104.13)},
{coords = vector3(650.26, 169.18, 94.06)},
{coords = vector3(875.86, 7.85, 77.81)},
{coords = vector3(979.1, -216.52, 69.57)},
{coords = vector3(845.14, -567.37, 56.76)},
{coords = vector3(1118.48, -974.83, 45.56)},
{coords = vector3(1161.8, -1368.25, 33.8)},
{coords = vector3(485.03, -1280.21, 28.59)},
{coords = vector3(-668.01, -171.96, 36.73)},
{coords = vector3(-1329.71, -228.67, 41.95)},
{coords = vector3(-1540.14, -565.45, 32.71)},
{coords = vector3(-1787.99, -502.03, 37.82)},
{coords = vector3(-1853.16, -621.34, 10.21)},
{coords = vector3(-2179.32, -421.82, 12.24)},
{coords = vector3(-1297.88, -1316.16, 3.79)},
{coords = vector3(-1008.82, -1466.92, 4.05)},
{coords = vector3(-607.29, -1215.6, 13.52)},
{coords = vector3(-466.26, -966.95, 22.6)},
{coords = vector3(-286.55, -1023.09, 29.43)},
{coords = vector3(-485.59, -596.64, 30.22)},
{coords = vector3(-576.51, 401.15, 99.71)},
{coords = vector3(-669.04, 909.72, 229.08)},
{coords = vector3(-310.69, 227.91, 86.93)}
}
Language = {
["NOTIFICATION_TITLE"] = "MONEY WASH",
["PRESS_KEY_START"] = "Press [~b~E~w~] to start washing money",
["PRESS_KEY_END"] = "Press [~b~E~w~] to stop washing money",
["PRESS_TO_WASH"] = "Press [~b~E~w~] to deliver a package",
["NOT_ENOUGH"] = "You don't have enough money to start washing!",
["NOT_ENOUGH_SPACE"] = "There is not enough space on a parking lot!",
["WASHING_STOPPED"] = "You stopped washing money",
["SLOW_DOWN"] = "Slow down cowboy! 🤠",
["CODE_INPUT"] = "Enter package code",
["SMS_MESSAGE"] = "Your package code is %s, remember it!",
["SUCCESSFULLY_WASHED"] = "Successfully washed %s$",
["INCORRECT_CODE"] = "This is not a correct package code!",
["WAITING"] = "Waiting for next course...",
["COURSE_STARTED"] = "Course started, head to waypoint"
}
-- ⚠️DON'T TOUCH THIS⚠️
function L(id) if Language[id] then return Language[id] else return "MISSING LOCALE ("..id..")" end end
```
Last updated