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

# INFOMATION

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

{% hint style="info" %}
You can purchase this at: <https://ozstore.tebex.io/>
{% endhint %}

OZ\_TESTDRIVING

***

🔥 **TOP FEATURES**

✅ Vehicle categories (database-based)\
✅ Test drive system with time limit\
✅ End test drive at any time with the F key\
✅ Locales system (DE/EN expandable)\
✅ Marker & Blip at the shop\
✅ ESX menu (standard)\
✅ Support for oz\_notify / only\_helpnotify

***

**📺 SHOWCASE & DOCUMENTATION**

🎬 **Showcase Video:** [**YouTube**](https://youtu.be/JjsTU-WaoDs)\
📚 **Full Documentation:** [GitBook](https://fox-store-1.gitbook.io/fox-store-docs/only-timescript/infomation)

***

**⚙️ REQUIREMENTS**

• **Framework:** ESX (es\_extended)\
• oxmysql

***

### ⚙️ Installation

#### 1. Script installieren

* Place the folder, for example as oz\_testdriving, in your resources folder.
* Add the following to the server.cfg file:

```
ensure only_testdriving
```

***

#### 2️. Prepare database

Your vehicles table needs a category column:

```
ALTER TABLE vehicles ADD category VARCHAR(50);
```

Example categories:

```
UPDATE vehicles SET category = 'Sport' WHERE model IN ('comet2','jester');
UPDATE vehicles SET category = 'SUV' WHERE model IN ('baller','granger');
```

***

#### 3️. check fxmanifest.lua

```
shared_scripts {
'config.lua',
'locales/*.lua'
}

client_script 'client.lua'
server_script 'server.lua'
```

***

### 🧭 Use in the game

* Go to the marker at the vehicle shop
* Press E → Categories menu opens
* Choose a category
* Choose a vehicle
* Test drive starts automatically

#### ⏹ Cancel test drive

* Press F to end the test drive immediately.

***

### 🌍 Locales (multilingualism)

#### Set language (`config.lua`)

```
Config.Locale = 'de' -- 'de' or 'en'
```

#### Add new language

1. Create new file: locales/fr.lua
2. Enter translations
3. `Config.Locale = 'fr'`

***

### 🛠 Configuration (config.lua)

| Option                     | Beschreibung                                     |
| -------------------------- | ------------------------------------------------ |
| `Config.TestDriveTime`     | <p>Duration of the test drive in seconds<br></p> |
| `Config.Marker`            | <p>Marker & Blip Position<br></p>                |
| `Config.TestDriveStart`    | <p>spawn point of the test drive<br></p>         |
| `Config.ReturnCoords`      | <p>Return location after test drive<br></p>      |
| `Config.UseOnlyNotify`     | <p>use oz\_notify<br></p>                        |
| `Config.UseOnlyHelpNotify` | <p>use oz\_helpnotify<br></p>                    |

***

### 🔒 Safety & Notices

* Vehicles are spawned as mission entities.
* Vehicles are always deleted after test drives.
* The player will be reliably teleported back.
* Abuse through endless loops is not possible.

***

**📞 SUPPORT**

**Discord:** <https://discord.gg/QaMEA95qbS>
