Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 2.6 KB

README.md

File metadata and controls

36 lines (25 loc) · 2.6 KB

FiveM ESX Version

Author: customcodex
Version: 1.0.0
Description: A FiveM ESX script that slows down vehicles to a configurable speed when a tire is shot and logs the event to a Discord webhook.

Overview

The codex-slowdown script enhances the realism of vehicle interactions in FiveM roleplay by slowing down vehicles when their tires are shot. It also includes a feature to log these events to a Discord channel via a webhook, with a configurable system to prevent spam and provide clear, actionable information.

AutoNotify

Vehicle Logging Single Log Customizable

Features

  • Vehicle Speed Reduction: Automatically reduces the speed of a vehicle to a specified limit (e.g., 5 km/h) when any tire is shot.
  • Discord Webhook Logging: Sends a formatted message to a Discord channel using a webhook when a tire is shot.
  • Single Log per Tire Burst: Ensures that only one log is sent per vehicle until all tires are repaired or the player exits the vehicle.
  • Customizable Configuration: Easily adjust settings like speed limits, webhook URLs, and log icons through a configuration file.

Installation

  1. Download the repository and place it in your resources folder within your FiveM server directory.
  2. Configure the script by editing the config.lua file:
    • Set Config.WebhookURL to your Discord webhook URL.
    • Adjust Config.SlowdownSpeed and Config.EmbedIconURL as needed.
  3. Add the following line to your server.cfg file:
    start codex-slowdown
    
    

📧 Support and Customization:
For any issues, customization requests, or additional support, feel free to reach out to us at info@hutsakeee.nl. We’re here to help you enhance your roleplaying experience!

Bugs & Issues

  • Issues and Contributions: Updated to include a link to open issues and submit pull requests. https://github.com/codex-slowdown/issues and https://github.com/codex-slowdown/pulls