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

# Config

```lua
Config = {}

--- [ MAIN CONFIG ] ---

Config.Framework = "ESX"       -- Select by your framework ["ESX","QBCORE","OTHER"]
Config.DrawText3D = true       -- If you don't want to display 3D Texts.
Config.Notifications = {
    ["type"] = "OX",           -- You can choose between ["OX","ESX","QBCORE","OTHER"]
    ["success"] = "success",   -- insert here your type success for the notify.
    ["error"] = "error",       -- insert here your type error for the notify.
    ["inform"] = "inform"      -- insert here your type inform for the notify.

}
Config.TextUI = "OX"           -- You can choose between ["OX","ESX","QBCORE","OTHER"]
Config.ProgressBar = "OX"      -- You can choose between ["OX","ESX","QBCORE","OTHER"]
Config.MiniGame = "OX"         -- Currently only ["OX","OTHER"] are compatible but you can go to edit.lua and add your custom.
Config.InteractKey = 38        -- [E] -- Primary Interaction Keys.
Config.Interact2Key = 47       -- [G] -- Second  Interaction Keys.

Config.RotateLeftProp = 242 -- Key to Rotate the prop
Config.RotateRightProp = 241 -- Key to Rotate the prop

Config.PayCheck = math.random(100,500) -- The value of the payment for every location fixed.
Config.Vehicle = "boxville" -- The model of the "Service Vehicle"
Config.Props = { "prop_roadcone02a","prop_barrier_work02a", "prop_barrier_work04a", "prop_barrier_work06a" } -- Here you can insert the props that the player can place on ground (will spawn randomly).
Config.MaxProps = 3 -- You can define how much props the player need to put on ground, you can use math.random to randomize for every location.

-- Locations of every zone to be fixed --
Config.Locations = {
    { x = -683.06, y = -956.06, z = 20.57 },
    { x = -717.7, y = -1177.37, z = 10.62 },
    { x = -647.18, y = -1405.96, z = 10.64 },
    { x = -530.24, y = -1760.92, z = 21.44 },
    { x = -389.99, y = -1798.44, z = 21.52 },
    { x = -215.79, y = -1818.55, z = 29.85 },
    { x = 121.96, y = -1875.32, z = 23.84 },
    { x = 242.74, y = -1706.06, z = 29.04 },
    { x = 119.97, y = -1548.45, z = 29.25 },
    { x = 23.08, y = -1568.29, z = 29.21 },
    { x = -184.0, y = -1486.44, z = 32.06 },
    { x = 505.23, y = -759.7, z = 24.89 },
    { x = 335.84, y = -957.28, z = 29.34 },
    { x = 435.52, y = -1130.55, z = 29.43 },
    { x = 497.96, y = -1264.33, z = 29.3 },
    { x = 242.06, y = -1436.24, z = 29.3 },
    { x = 5.3, y = -1365.62, z = 29.37 },
    { x = -213.46, y = -562.91, z = 34.62 },
    { x = -533.13, y = -738.05, z = 32.71 },
    { x = -535.71, y = -969.86, z = 23.46 },
    { x = -110.38, y = -1202.85, z = 27.59 },
    { x = 86.2, y = -1059.49, z = 29.4 },
    { x = 114.46, y = -1004.48, z = 29.37 },
    { x = 180.51, y = -822.86, z = 31.14 },
    { x = 312.08, y = -784.44, z = 29.33 },
    { x = 325.41, y = -744.55, z = 29.33 },
    { x = 376.85, y = -623.19, z = 28.99 },
}
-- Central Job --
Config.CentralLocation = { x = -155.82, y = -1348.6, z = 29.92 }
-- Return Vehicle/End Job --
Config.ReturnLocation = { x = -140.09, y = -1353.31, z = 29.49 }
-- Spawn Vehicle --
Config.SpawnVehLocation = { x = -138.92, y = -1347.34, z = 29.68, heading  = 179.61 }

--- [ MARKERS] ---

-- Central Marker
Config.CentralMarker = {
    type = 20,
    scaleX = 0.5,
    scaleY = 0.4,
    scaleZ = 0.3,
    Color = {
        R = 213,
        G = 171,
        B = 32,
        A = 155,
    }
}

-- Water Leak Marker
Config.WaterLeakMarker = {
    type = 27,
    scaleX = 1.5,
    scaleY = 1.5,
    scaleZ = 1.5,
    Color = {
        R = 213,
        G = 171,
        B = 32,
        A = 155,
    }
}

-- Return Marker
Config.ReturnMarker = {
    type = 20,
    scaleX = 0.5,
    scaleY = 0.4,
    scaleZ = 0.3,
    Color = {
        R = 229,
        G = 164,
        B = 11,
        A = 155,
    }
}

--- [ BLIPS ] ---

-- Central Blip
Config.CentralBlip = {
    name = "Water Leaks - Central",
    scale = 0.8,
    color = 47,
    sprite = 280,
}

-- Water Leak Blip
Config.WaterLeakBlip = {
    name = "Water Leaks - Water Leak",
    scale = 0.8,
    color = 64,
    sprite = 1,
}

-- Return Blip
Config.ReturnBlip = {
    name = "Water Leaks - Return",
    scale = 0.8,
    color = 64,
    sprite = 1,
}


--- [ LANGUAGE ] ---
Config.Translate = {
    ["JobHasStarted"] = "Your job has been started",
    ["JobHasEnded"] = "Your job has been ended",
    ["LocationOnGPS"] = "Location is now on your GPS",
    ["BackToCentral"] = "Thank you for your help, see you next time.",
    ["PickedProp"] = "Prop has been picked up.",
    ["FailedMiniGame"] = "OH MY GOD, THE WATER IS COMING OUT MORE AND MORE, HURRY UP.",
    ["ReturnLocation"] = "Return Location is now on your GPS.",
    ["FixedZone"] = "Congratz it's fixed! Now remove the props.",
    ["PropPlaced"] = "Prop has been placed.",
    ["Payment_1"] = "Recieved ",
    ["Payment_2"] = "€ for your work",
    ["Picking"] = "Picking up...",
    ["Fixing"] = "Start fixing the water leak...",
    -- 3D TEXT --
    ["3DProtectText"] = "~o~[~w~E~o~]~w~ To ~o~PROTECT~w~ the area",
    ["3DFixWater"] = "~o~[~w~E~o~]~w~ To ~o~FIX ~w~ the water leak",
    ["3DPickProp"] = "~r~[~w~E~r~]~w~ Pick up",
    ["3DReturnVeh"] = "~o~[~w~E~o~]~w~ Return your ~o~SERVICE VEHICLE",
    ["3DStart"] = "~g~[~w~E~g~]~w~ - Start Job",
    ["3DEnd"] = "~r~[~w~E~r~]~w~ - End Job",
    -- TEXT UI --
    ["TextUIDecision"] = "[E] To go to next spot or [G] To go back to central.",
    ["TextUIGoVeh"] = "Go to the service vehicle to continue.",
    ["TextUIPropInteraction"] = "Press [G] to place the prop | [SCROLL UP/DOWN] to Rotate the prop ",
}


```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://revel-scripts.gitbook.io/revel-docs/revel-waterleak/config.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
