# Config

### Minigames

You can configure your own minigame.\
The Electrician job includes 2 installed minigames, but you can also use your own minigame in cl\_edit.lua\
\
[**MX FIX WIRING MINIGAME**](https://github.com/mxlolshop/minigameFixWiring/tree/main/Fix%20Wiring/FiveM/mx_fixwiring)<br>

<figure><img src="/files/lTALLm1w8jkdChEirIgm" alt=""><figcaption></figcaption></figure>

### Reward

You can customize how much money players make in a job

<figure><img src="/files/WmPqdQia4sjhJ731NeVm" alt=""><figcaption></figcaption></figure>

### Discord Logs&#x20;

Use Discord logs to track players who have completed job<br>

<figure><img src="/files/oUlm1JPrAWNbDweZiRnf" alt=""><figcaption></figcaption></figure>

### Station

You can add more stations if needed, but the tasks at each in every station\
You can change the vehicle a player rent<br>

<figure><img src="/files/nzltnueLLn7KKHizxeL7" alt=""><figcaption></figcaption></figure>

### Jobs

You can add more jobs and create your own locations and more.<br>

<figure><img src="/files/aDD34ZJnA1KZAxkuIUdm" alt=""><figcaption></figcaption></figure>

### Config Code

```lua
Config = {}

Config.Minigame = 'mxminigame' -- ox_lib = Ox Lib Skill Check, mxminigame = MX Fix Wiring, custom = Custom minigame in cl_edit.lua
                                                               -- Link in README.md or in docs


Config.RewardMin = 200
Config.RewardMax = 500
Config.DiscordWebhook = "your_discord_webhook"

Config.Station = {
    {
        pedcoords = vec4(242.7503, -1493.8263, 29.2916, 227.0450),
        zone = vec3(161.2, 172.7001, 105.9198),  
        model = 's_m_m_dockwork_01',
        carModel = 'utillitruck3',
        spawnPoint = vec3(245.9389, -1502.9315, 29.1431),
        deletePoint = vec3(245.9389, -1502.9315, 29.1431),
        heading = 235.8015
    }
}

Config.Jobs = {
    ['motel'] = {
        title = "Beach Motel",
        description = "Go and repair a broken vending machine.",
        coords = vec3(-1475.3960, -673.2315, 29.0420),
        icon = "fa-solid fa-plug",
        image = 'https://media.discordapp.net/attachments/1325495363787948075/1345743343056982138/image.png?ex=67c5a8a7&is=67c45727&hm=8bb8ed152d515d7d119489f96fc6575c83f496b77fe1d82254b1048a9e4c3185&=&format=webp&quality=lossless&width=1049&height=663'
    },
    ['repair_2'] = {
        title = "Fix Power Box",
        description = "Go and fix a power box in the city.",
        coords = vec3(313.4915, -1326.9407, 31.7706),
        icon = "fa-solid fa-bolt",
        image = ''
    }
}
```


---

# Agent Instructions: 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://renovax-scripts.gitbook.io/renovax-scripts-docs/nobody/electrician-job/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.
