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.
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.
- 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.
- Download the repository and place it in your
resources
folder within your FiveM server directory. - Configure the script by editing the
config.lua
file:- Set
Config.WebhookURL
to your Discord webhook URL. - Adjust
Config.SlowdownSpeed
andConfig.EmbedIconURL
as needed.
- Set
- 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!
- Issues and Contributions: Updated to include a link to open issues and submit pull requests.
https://github.com/codex-slowdown/issues
andhttps://github.com/codex-slowdown/pulls