Config
Here you can find all the configurations that you can set with our lootdrop script
Mio.Locals
Configure the different texts that should be output when notifying
Mio.Locals = {
moneywash = 'Moneywash',
menuopen = 'Press ~INPUT_CONTEXT~ to wash money',
success = 'Money successfully laundered',
error = 'Error occurred during money laundering',
noaccess = 'You do not have access to money laundering',
policeinformed = 'The authorities have been notified - oops!',
policeinfo = 'A money laundering process has been reported - check it out!',
notenough = 'You do not have enough dirty money to launder.',
tomuch = 'You are carrying too much dirty money.',
notenoughin = 'The amount you entered does not meet the minimum amount for laundering!',
noitem = 'You do not have the required access card.',
}
Mio.Base
Base settings like Blips, Marker and Debug mode
Mio.Debug = true -- Enable debug mode for error analysis
Mio.Blip = {
enable = true, -- Enable/disable blip (true/false)
sprite = 500, -- Blip type (https://docs.fivem.net/docs/game-references/blips/)
color = 3, -- Blip color
text = 'Moneywash' -- Blip name
}
Mio.Marker = {
enable = true, -- Enable/disable marker (true/false)
Type = 21, -- Marker type (https://docs.fivem.net/docs/game-references/markers/)
ScaleX = 1.0, -- Marker size
ScaleY = 1.0, -- Marker size
ScaleZ = 1.0, -- Marker size
ColorR = 52, -- Marker color R
ColorG = 152, -- Marker color G
ColorB = 219, -- Marker color B
Alpha = 100 -- Marker color A
}
Mio.Shortcuts
Configure your shortcut options for moneywash UI
Mio.Shortcuts = {
{percentage = 10}, -- Shortcut 1: 10%
{percentage = 25}, -- Shortcut 2: 25%
{percentage = 50} -- Shortcut 3: 50%
}
Mio.Police
Set jobs for the police alert function
Mio.PoliceJobs = {'police'} -- List of jobs to be notified
Mio.WashLocations
configure or create different washlocations
Mio.WashLocations = {
{
coords = vector3(980.2285, -630.7968, 59.5739), -- Money laundering location (coords)
requiredItem = 'washcard', -- Required item for access to money laundering
fee = 0.10, -- Money laundering fee
minAmount = 2000, -- Minimum amount of dirty money that can be laundered
maxAmount = 20000, -- Minimum amount of dirty money that can be laundered
restrictedJobs = {'ambulance','police'}, -- Jobs that do not have access to money laundering
alertPolice = true, -- Notify police jobs? (true/false)
alertProbability = 1.0, -- Probability that police jobs will be notified?
alertDelay = 7000, -- Delay before the police are notified after starting money laundering (milliseconds)
},
{
coords = vector3(983.7323, -634.2715, 59.8710), -- Money laundering location (coords)
requiredItem = 'washcard', -- Required item for access to money laundering
fee = 0.40, -- Money laundering fee
minAmount = 5, -- Minimum amount of dirty money that can be laundered
maxAmount = 5000, -- Minimum amount of dirty money that can be laundered
restrictedJobs = {'ambulance'}, -- Jobs that do not have access to money laundering
alertPolice = true, -- Notify police jobs? (true/false)
alertProbability = 1.0, -- Probability that police jobs will be notified?
alertDelay = 0, -- Delay before the police are notified after starting money laundering (milliseconds)
},
}
Mio.Notify
set your own notify export or use our MIO NOTIFY
------------------------- NOTIFY SETTINGS ------------------------------------------------------
-- Here you can customize the notifications for individual situations
-- Replace "ESX.ShowNotification" with your own notify export
Mio.Notify = false -- If you are using our Mio Notify, set this to true (https://mio.tebex.io/mionotify)
Mio.success = function()
ESX.ShowNotification(Mio.Locals.success)
end
Mio.error = function()
ESX.ShowNotification(Mio.Locals.error)
end
Mio.noaccess = function()
ESX.ShowNotification(Mio.Locals.noaccess)
end
Mio.policeinformed = function(source)
ESX.ShowNotification(Mio.Locals.policeinformed)
end
Mio.policeinfo = function()
ESX.ShowNotification(Mio.Locals.policeinfo)
end
Mio.notenough = function()
ESX.ShowNotification(Mio.Locals.notenough)
end
Mio.tomuch = function()
ESX.ShowNotification(Mio.Locals.tomuch)
end
Mio.notenoughin = function()
ESX.ShowNotification(Mio.Locals.notenoughin)
end
Mio.noitem = function()
ESX.ShowNotification(Mio.Locals.noitem)
end
------------------------- NOTIFY SETTINGS END --------------------------------------------------
Mio.TextUI
set your own textui export
Mio.TextUI = function()
ESX.ShowHelpNotification(Mio.Locals.menuopen)
end
Last updated