> For the complete documentation index, see [llms.txt](https://docs.tzmc.dev/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tzmc.dev/docs/standalone/time-trial.md).

# 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.
