# Time Trial

Enhance your FiveM server with the exciting and challenging Time Trial Script. This script allows players to test their driving skills against the clock, offering a competitive edge to your server's gameplay.

⚡ **Key Features:**

* **SQL Integration:** Option to use oxmysql for storing time trial results in your database. If disabled, results will be stored in a JSON file.
* **Custom Locations:** Easily create and add your own time trial locations or use the provided GTA Online locations.
* **Blip Customization:** Enable blips on the map to mark the start and end points of time trials, ensuring players can easily locate them.
* **Countdown Bar:** Inform players of their performance with customizable countdown bar texts.
* **Notification System:** Provide players with detailed feedback through banner notifications and help texts.
* **Discord Integration:** Notify your Discord server about time trial events using customizable webhook messages.

📋 **Requirements:**

* No additional dependencies required

🔧 **Setup & Configuration:**

1. **Installation:**
   * Download the script and place it in your server's resources folder.
2. **Configuration:**
   * Open the `config.lua` file and adjust the settings to fit your server's needs.
   * Customize cooldown periods, locations, blip settings, countdown texts, notifications, and Discord webhook details.


---

# 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://docs.tzmc.dev/docs/standalone/time-trial.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.
