Preview: https://youtu.be/jR3QOJAF0k0
This script adds an AI mechanic that players can call when their car breaks down. The NPC will arrive with a realistic workflow to provide a better roleplay experience and a solution when no player-mechanics are online.
Realistic Workflow:
- NPC spawns on a road and drives to the player's location.
- Parks safely, gets out, and walks to the front of the car.
- Opens the hood before starting the repair.
- Repairs the car with an animation.
- Closes the hood when finished.
- Returns to their vehicle and drives away.
Key Features:
- Realistic Workflow: A detailed repair process, not an instant fix.
- Ox Lib Progress Bar: A modern UI during the repair.
- Easy Configuration: Set the price, command, NPC models, cooldown, etc., in one file.
- Online Mechanic Option: Can be set to only work if no player-mechanics are online.
- Translatable: All text can be easily changed.
- Stable & Lightweight: Optimized and tested for server performance.
Dependencies:
- ESX (all versions)
- ox_lib
Installation:
- Place the script folder into your
resourcesdirectory. - Customize the
config.luafile. - Add
ensure [script_folder_name]to yourserver.cfg.