> For the complete documentation index, see [llms.txt](https://verpix.gitbook.io/verpix..moneywash/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://verpix.gitbook.io/verpix..moneywash/script-moneywash.md).

# Script MoneyWash

Configuration (config.lua)

```lua
Config  = {}

Config.Ped = {
    model = 'ig_fbisuit_01',-- Ped model, you can choose whatever ped you want... Link: https://wiki.rage.mp/index.php?title=Peds
    coords = vec4(269.1115, -3248.5557, 4.7903, 276.4767), -- pos for ped
    ScenePosition = vec3(270.8841, -3248.5959, 4.7903) -- pos for scene
}

Config.Target = {
    icon = 'fa-solid fa-sack-dollar',
    label = 'Wash Money',
    distance = 3
}

Config.Police= {
    police = true, --true / false if true then set CopsRequired = amount of cops need to be in city to wash money, if false then code will run normal without checkig for police...
    CopsRequired = 1,-- amount of cops that need to be in city!
    JobName = 'police' -- your job name for police...
}

Config.Menu = {
    FirstLabel = 'Wash-Money', -- for menu title
    SecondLabel = 'Amount?' -- desc..
}

Config.Lang = {
    DontHaveBlackMoney = 'You dont have any black money to wash!', --dont have black money to open menu...
    NoPolice = 'There is not enough police in town!', 
    SDontHave = 'You dont have that kind money', -- server side notify, for dont have

}

Config.Functions = {
    moneywashTax = 20, -- how much tax it will be if you put 20% then it will be if you wash 100.000€ then you will get 80.000€
    BlackMoneyType = 'black_money' -- for which account check, if you have your custom black_money type...
}

Config.Logs = {
    webhook = '',-- your webhook
    BotUsername = 'MoneyWash-Logs',  -- bot username for log webhook..
    discord = false, -- if true then it will log into discord, if false then it will not
    database = true, -- if true then it will log into database, if false then it will not
    LabelLog = 'Washing Money Logs', -- From here
    PlayerSteam = 'Player Name(steam): **', 
    PlayerIngame = '**\nPlayer Name(ingame): **',
    Identifier = '**\nPlayer Identifier: **',
    ServerID = '**\nServer ID: **',
    JobPlayer = '**\nPlayer job: **',
    Wash = '**\nHe give: **',
    Get = '$ Money to wash**\nHe got out: **',
    Got = '$ Money**\nNow he got: **',
    MoneyAnd = '$ Clean Money**\n And: **',
    BlackMoney = '$ Black Money**' -- to here you can change langauge for webhook...
}

Config.Protect = {
    DropPlayers = true, -- if they cheat, this is not 100% accurate 
    message = 'Get the hell out of my server, f-you', -- msg for cheaters
    BotUsername = 'Drop Logs', -- bot username for log webhook..
    webhook = '' -- your webhook
}

```
