# Config

## 📘 Config Documentation

This page describes all configuration options for the script. You can customize language, UI settings, map blips, shop behavior, pricing, and more.

***

### 🧱 Framework Choice

```
Config.Framework = 'ESX'
```

**Available options:**

* `QBcore` – qb-core
* `ESX` – es\_extended

***

### 🌐 Language Settings

```lua
Config.language = 'en'
```

**Available options:**

* `pl` – Polish
* `en` – English
* `fr` – French
* `it` – Italian
* `pt` – Portuguese
* `sv` – Swedish
* `es` – Spanish
* `de` – German
* `tr` – Turkish

> *Note: Translations were generated using online tools and may contain inaccuracies.*

***

### 🖥️ UI Settings

```lua
Config.UseNrgScriptsCustomUi = true
```

* If `true`, uses the custom NRG UI
* If `false`, falls back to ox\_lib default menu

***

### 🧍 Target Choice

```lua
Config.UseTarget = 'ox_target'	
```

* `qb_target` – Supports only NrgCustomUi
* `ox_target` – Supports NrgCustomUi and ox\_lib default menu

***

### 🗺️ Map Blip Settings

```lua
Config.Blip = true
Config.BlipShortRange = true
Config.BlipCoords = vector3(-1083.10, -245.79, 37.76)
Config.BlipSprite = 459
Config.BlipColor = 3
Config.BlipScale = 1.0
Config.BlipName = "Phone Operator"
```

* [🔗 Blip Sprites Reference](https://docs.fivem.net/docs/game-references/blips/#blips)
* [🎨 Blip Colors Reference](https://docs.fivem.net/docs/game-references/blips/#blip-colors)

***

### 🧍 Sim Shop Ped Settings

```lua
Config.coords = vector4(-1083.10, -245.79, 37.76, 200.12)
Config.AddPedOnCoords = true
Config.PedModel = 'ig_molly'
Config.TargetSizeIfNotPed = vector3(2.0, 2.0, 2.0)
```

* Spawns a ped (`ig_molly`) at the given coordinates
* If no ped, interaction uses a box of the specified size

***

### 🛒 Shop Items

```lua
Config.AddUnregisteredItemToShop = true
Config.AddPhoneItemToShop = true
Config.MaxSimCard = 10
```

* Adds both **unregistered SIM cards** and **phones** to the shop
* Players can register up to **10 SIM cards**

***

### 💸 Pricing

```lua
Config.prices = {
  registered = 100,
  unregistered = 80,
  duplicat = 80,
  phone = 250
}
```

* Registered SIM: `$100`
* Unregistered SIM: `$80`
* Duplicate SIM: `$80`
* Phone: `$250`

***

### 🔐 Unique Identifier

```lua
Config.uniqueitem = 'custom_number'
```

* Required item to create a **custom phone number**

***

### 👮 Police Job Access

```lua
Config.PoliceJobs = { 'police' }
```

* Define jobs considered as law enforcement

***

### 📱 Phone Behavior

```lua
Config.ShowPhoneAfterTurnOn = false
```

* If `true`, the phone UI opens immediately after activation

***

### 💳 Payment System

```lua
Config.Account = 'both'
```

**Accepted values:**

* `money` – Cash only
* `bank` – Bank balance only
* `both` – Automatically uses either
* *Custom value* – Use your own account logic

***

###
