[FORK][ESX] Engine Repair kit & Tyre Kit | esx_repairkit V3.2

nice work

1 Like

I have a proposal

The people take longer to repair than the mechanic.

1 Like


It’s up to you to change this, I’m using the default value that come from the original esx_repairkit :grin:

Change the value of “Config.RepairTime” in the config.lua to your liking, so if you want the repair kit to be longer you can increase it :wink:

2 Likes

Aint this part of the mec job for esx already??

1 Like

I don’t know I don’t use the mech job sorry :hushed:

It might be I guess, it does not require the resource of the mechanic job to be used soooooo :woozy_face:

Update 2.1

  • You now need to be next to the engine to fix it

Download

I love the idea already and I haven’t even downloaded it yet lol can’t wait to see your updates keep up the great work

1 Like

Did someone manage to make the item only useable if no mechanic is online?
Best regards

I will add this feature to my TODO list ^^

So I downloaded your script and works like a charm when I tested it the repair kit didn’t repair physical damages around the car just the engine itself which is what I’m guessing is supposed to happen if so I love it wouldn’t change a thing cuz then it forces my players to bring it to a repair bay cant wait for future updates

1 Like

Yes it’s exactly the purpose of this script. It only repair the engine of the vehicle so the player still have to bring it to a repair bay to fully fix it :grin:

1 Like

Update 2.2

  • Fix player able to repair the car even if inside the vehicle

KNOWN BUG : Player are unable to cancel the repair.

Download

Maybe add mythic_progbar to be able to cancel the repair.

I have found how to fix it, I will update the script in one or two hour :grin:
For now I won’t use any dependencies since I’m still new to coding (That’s why update take so long to come for such simple add xd)

1 Like

Update 2.3

  • BUG FIXES : Cancel repair now fixed
  • Option added : If you’re using the resource “RealisticVehicleFailure” you can set it to true (Since “RealisticVehicleFailure” change how cars work, this config option allow to set the engine repair value lower than usual so the repaired vehicle is not indestructible)

Download

am i dumb for not knowing how to use this?

edit: seem to have it fixed. it was because of a mod

edit2: It only shows that vehicles are not nearby. but when i am actually next to my car. nothing happends. i am using RealisticVehicleFailure. and i am using the latest version

You need to be next the engine to fix your car :grin:

i am standing next to my engine :slight_smile:

this is a video showing how i think its working. : https://streamable.com/1mlsud dont mind the sound. i was watching a youtube video

Can you try from the side of the engine and not the front ? If it’s still dosn’t work I will try to update it as soon as possible :hugs:

Yea I have the same problem with it not working.