Because repairing your car in 30s with a repairkit, a piece of tape and a staple is not very roleplaying, I made this Mechanic AI script.
- Free FiveM script about mechanicAI fully configurable - Legacy - ox_lib
- resmon : 0.00ms
- Video Preview : https://youtu.be/YD1n0Um-T60
- Forum link : https://forum.cfx.re/t/free-script-mechanic-ai-fully-configurable-esx-legacy-ox-lib/4920294
- Discord link : https://discord.gg/B45FXcrqCt
- ESX Legacy
- ox_lib : https://github.com/overextended/ox_lib/releases/tag/v2.11.1
- copy tofmechanicAI in your 'resources' folder
- start it in your server.cfg
- ox_lib must start before tofmechanicAI
Optionsmecano.command = 'mecano' -- configure the commande name /...
Optionsmecano.model = 'S_M_Y_DockWork_01' -- configure the model ped for mecano
Optionsmecano.jobname = 'mechanic' -- configure the mechanic job name
Optionsmecano.max = 0 -- configure the maximum of mechanic worker to activate the command
Optionsmecano.timerwait = 30000 -- configure how many times in ms the player wait the mecano
Optionsmecano.timerrepair = 60000 -- configure how many times during the repair
Optionsmecano.cost = 1500 -- configure the cost of the repair
Optionsmecano.body = true -- configure if mecano repair body (true | false)
Optionsmecano.addfuel = false -- configure if mecano add fuel (true | false)
Optionsmecano.fuellevel = 10.0 -- configure add fuel level