Player Owned Mechanic ESX FIVEM
I am thrilled to announce that recently I have developed an exciting new feature that could serve roleplay and other servers: players can now own their own mechanic shops using the ox_lib.
This script allows players of defined ranks in the configuration to create their own mechanic zones. The zones’ prices, names, and other details can be easily configured in the settings file. Additionally, players can assign Blips to these zones if needed.
Please note that the latest versions of esx legacy, oxmysql, ox_lib, and ox_inventory are required to use this script.
Once players have purchased a zone, they can set the repair prices. At these purchase points, other players can repair and wash their vehicles.
The owner of the mechanic shop can withdraw the amount spent on repairs from the business and can adjust the labor rates as needed!
The script’s language can be freely modified in the local file, and there are several useful configuration options available.
- It is important to note that all data is stored in an SQL database, and the script handles them properly. After the first launch, the script automatically creates the wdev_mechanic SQL table on the server.
The script uses minimal resources(idle: 0,00 ms, with 0.01 ms during usage.
Commands:
/addemzone
/delmzone
/findmzone
Discord logging included in /config/webhook.lua
Below, I will attach a short video demonstrating how the system works!
I hope you will enjoy using this new feature, and I look forward to hearing your experiences and feedback via private message!
We plan to introduce many exciting updates in the future, as the sky’s the limit!
Thank you for your support and participation!
Preview
Code is accessible | No |
Subscription-based | No |
Lines (approximately) | 3500 |
Requirements | ESX Legacy, ox_lib |
Support | Yes |