# Configuration

### Available Targets System

```lua
'ox_target', 'qb_target' or 'custom'
```

### Scanner System

{% tabs %}
{% tab title="Enable/Disable" %}
Inside the config.lua, replace from:

```lua
Scanners = {
        status = true,
        hospitalJobs = { ['ambulance'] = 0, ['police'] = 0 }
    },
```

To:

<pre class="language-lua"><code class="lang-lua"><strong>Scanners = {
</strong><strong>        status = false,
</strong>        hospitalJobs = { ['ambulance'] = 0, ['police'] = 0 }
    },
</code></pre>

{% endtab %}

{% tab title="Edit WL Jobs" %}
Inside the config.lua, add/remove the jobs inside hospitalJobs array:

```lua
Scanners = {
        status = true,
        hospitalJobs = { ['ambulance'] = 0, ['police'] = 0 }
    },
```

To allow everyone to use the Scanners, put:

<pre class="language-lua"><code class="lang-lua"><strong>hospitalJobs = false
</strong></code></pre>

{% endtab %}
{% endtabs %}

### Elevator System

{% tabs %}
{% tab title="Enable/Disable" %}
Inside the config.lua, replace from:

<pre class="language-lua"><code class="lang-lua"><strong>Elevators = {
</strong>        status = true,
        hospitalJobs = { ['ambulance'] = 0, ['police'] = 0 }
    },
</code></pre>

To:

<pre class="language-lua"><code class="lang-lua"><strong>Elevators = {
</strong><strong>        status = false,
</strong>        hospitalJobs = { ['ambulance'] = 0, ['police'] = 0 }
    },
</code></pre>

{% endtab %}

{% tab title="Edit WL Jobs" %}
Inside the config.lua, add/remove the jobs inside hospitalJobs array:

```lua
Elevators = {
        status = true,
        hospitalJobs = { ['ambulance'] = 0, ['police'] = 0 }
    },
```

To allow everyone to use the Helipad Elevators, put:

<pre class="language-lua"><code class="lang-lua"><strong>hospitalJobs = false
</strong></code></pre>

{% endtab %}
{% endtabs %}

### Beds System

{% tabs %}
{% tab title="Enable/Disable" %}
Inside the config.lua, replace from:

```lua
Beds = {
        status = true,
        standUpControl = {
            code = 73,
            label = 'Press ~INPUT_VEH_DUCK~ to stand up!'
        }
    },
```

To:

```lua
Beds = {
        status = false,
        standUpControl = {
            code = 73,
            label = 'Press ~INPUT_VEH_DUCK~ to stand up!'
        }
    },
```

{% endtab %}

{% tab title="Stand Up Controls" %}
To change the Stand Up Button, go inside the config.lua, and replace the X with the number of the button that you want. (you can find all the numbers [here](https://docs.fivem.net/docs/game-references/controls/))

```lua
Beds = {
        status = true,
        standUpControl = {
            code = X,
            label = 'Press ~INPUT_VEH_DUCK~ to stand up!'
        }
    },
```

{% endtab %}
{% endtabs %}

### Notify System

```lua
Notify = function(text, status) -- Client side
    BeginTextCommandThefeedPost("STRING")
    AddTextComponentSubstringPlayerName(text)
    EndTextCommandThefeedPostTicker(true, true)
end,

HelpTextNotify = function(text) -- Client side
    AddTextEntry("HELP_SIT", text)
    DisplayHelpTextThisFrame("HELP_SIT", 0, false, 1)
end
```
