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

Update 3.1

Fix

Feature change

  • “Destroy car on fail repair”, no longer “Explosion” (That was too rude :sweat_smile:)
  • If car is destroyed on fail repair, you will need a mech to repair the car or other ways

This update is focused on fixing certain issues.

Download

Working perfectly fine for me, what inventory plugin are you using and did you not forgot to start the ressource in your “server.cfg”
(Also send logs, it’s easier to help you with logs than none…)

InvokeNative: execution failed: Argument at index 1 was null.
SCRIPT ERROR: Execution of native 000000002f7a49e6 in script host failed: Argument at index 1 was null.
InvokeNative: execution failed: Argument at index 1 was null.
SCRIPT ERROR: Execution of native 000000002f7a49e6 in script host failed: Argument at index 1 was null. still say the same for me

Are you on OneSync?

Yes i am

Well can’t fix it, it’s a OneSync related issue (Say thanks to FiveM :D)

There is an old untested fix you can try: Add OneSync compatibility for rconlog by PichotM · Pull Request #46 · citizenfx/cfx-server-data · GitHub

I will try to find any workaround for this ^^

Nice it’s worth trying. Thank you

1 Like

I am still getting a native execution error on the newest version where you said it was fixed.

if i the drag the repairkit to use it’s grey i can’t use it

script isnt working its saying im not standing next to the engine, ive tried on all sides. esx v2

same
5char

Already answered it, can’t do anything right now since it’s a OneSync related issue.

What ESX version are you using and which inventory resource do you use?

Please give more information next time thanks.

Never tried with ESX V.2, that might be the issue, I will give it a shot later this week ^^

1 Like

great tyrekit logo for inventory

Icons made by Nikita Golubev from www.flaticon.com

it still works for me even with error

This script error in fact does not make this script broken, it is just bringing a script error that is more annoying for me but don’t break performance or anything else x)

it gives the error but works like a charm, just ignore the errors.

@Clementinise hey how would I do to make it to repair the engine only if has the WEAPON_WRENCH in hand?

if GetSelectedPedWeapon(PlayerPedId()) == GetHashKey('WEAPON_WRENCH')  then

else
showNotification( you need a wrench)
end

if it was IsControlJustReleased… i would put it under but on your script, I don’t know how, not yet…

hey im having a problem with it besides the error when i fix a tyre its not fixed for other players for them its still flat its only fixed for the person that repairs it

Probably server syncing issue between clients, but I’m not that good in LUA xd I will give it a look tomorrow!