Mechanic Mod [7/6/12]

by matt19811
Please explain why you're reporting this file:

While standing in front of a car, press Alt + B to face the engine, open hood, repair car and close the hood.

This goes in your gtaiv scripts folder

Update 2.0

Added open and closing hood animations and increased repair speed
8.90/10 - 50 votes
Downloads: 23,810
Added: April 10, 2012 1:29PM
Last Downloaded: May 25, 2017 12:37AM
File Size: 2.58 KB
» Author Website

Sorry, you must be registered and logged in to add a video to this file. Log in now!

Nice one. Bit of realism. 10/10.
Posted on April 10, 2012 9:02PM by Pedrofire21
Cool idea!
Posted on April 10, 2012 10:04PM by MasterVampire
great job dude \m/
Posted on April 10, 2012 10:24PM by True_Metal_Head
Yay awesome :)
Posted on April 10, 2012 10:28PM by Endy281
i was waiting for this :P 10/10
Posted on April 11, 2012 12:31AM by dD3N0Mb
iv not downloaded yet but can you give more detail? i mean, can i wreck my own car and get out and repair it in the same way?? body damage too?? brilliant idea though! il be downloading when im home :-)
Posted on April 11, 2012 4:18AM by twattyballs2011
I appreciate all the good coments and ratings, thanks guys.

I'm still a noob at this but it's nice to see my ideas coming to life and enjoyed. You have it right twattyballs. You can wreck your own car and get out and repair it in the same way. As long as someone is not alive in the passengers seat, walk to the front of the car, then press B and you will automatically turn towards the engine and pop the hood, repair the engine and body then shut hood. - I wreck alot so I wanted it to fix the body too. Thanks to everyone in the Gtaiv scripthookdotnet irc channel for helping me when i'm at my wits end and to Jitsuin for trying to help this blockhead learn lol even though..

Check out the short video
Posted on April 11, 2012 10:29AM by matt19811
nice update. but sometimes niko random walk if I press several times. So niko Should as far as possible from car to avoid the random walk again. right?
Posted on April 11, 2012 12:06PM by metalwars
"the car's going to blow up, oh well, it just need's an oil change" lol
Posted on April 12, 2012 8:12AM by ory1124
Yeah your right, thanks i have to do something else to do that so i'll get it done and ul it after i figure that out. I don't want to update too often tho because mod will not be viewable until it's approved. For now don't keep pressing the key and save the key for repairing as much as possible if you can until i get it done. It works good but i will work on making it perfect. I appreciate the help, wish i could get a pm if a bug is found i think this little one you put here already hurt rating lol.

Lol ory1124, I'm working on adding stuff. I have the player pouring water while playing animation in front of the car like when you repair. I could use the watering can to put the fire out or mess with making a good exstinquisher mod. So much to do..Messing with other stuff too. I added adsense to my video's if you click the ads on side of the pages in youtube I will make some penny's :)
Posted on April 12, 2012 11:38AM by matt19811
so what do i need to get this to work .netscripthook or what? and what version
Posted on May 8, 2012 11:16PM by kadajsilverwing
never mind figured out my problem i had the correct scripthook.dll but forgot to download whats on this site...

but see once i did download that it gave me scripthoo.dll version 0.5.1 and that verson of scipthook does work with patch 1.0.4 so i went and redownloaded version 0.4.0 scripthook.dll which took me 20 minutes to re-find idk why. and now i got it working. so np great mod
Posted on May 9, 2012 12:19AM by kadajsilverwing
Posted on May 9, 2012 7:05AM by matt19811
oh 1 question... is there a way to change the key repairing the car is binded to to a different key? example intsead of "b" maybe binding it to "z"

Posted on May 9, 2012 5:02PM by kadajsilverwing
yeah just open the cs file you downloaded with notepad and change where it says Keys.B to Keys.Z
Posted on May 10, 2012 12:39AM by matt19811
thanks :)
Posted on May 10, 2012 3:24AM by kadajsilverwing
This is like in Mafia 2
Posted on May 19, 2012 2:46AM by samu1999
"Kill ped in the car to repair" LOL.

Posted on May 28, 2012 11:04PM by lorca
where exactly do i need to put the file cus i placed in my base gta iv (EFLC) folder before you open another map and it doesn't work plz help!
Posted on June 7, 2012 1:02PM by GTA Super Freak
don't make a scripts folder you need to intall microsoft NET framework 4.0

Then if you have gta version 1.07 you need the newest versions of scripthookdot, aru's scripthook and xliveless or dsound.dll. If you use a different gta version number you need older versions of those. Once scripthookdotnet is intalled, you will have your scripts folder eflc\scripts
Posted on June 8, 2012 5:25AM by matt19811
Okay thanks mate :P
Posted on June 8, 2012 7:12AM by GTA Super Freak
Okay i have Microsoft NET framework 4.0 and have GTA EFLC version but in my GTA EFLC folder where al the scripts and logs and maps are i have my GTA trainer so i dont know where exactly i have to place it because on the moment i have it in my base GTA EFLC folder. or does anybody know a video that could help me???
Posted on June 8, 2012 7:17AM by GTA Super Freak
Great mod, works well. I have some Mafia II feeling of this :D
Posted on June 13, 2012 1:38AM by PROgamerIV
This best mod!!!! 10000000000000/10
Posted on July 6, 2012 3:11AM by BlackOfMystery
This mod is awesome!!!! 10/10 for the idea and everything.

But I giggled at the first comment of "a bit of realism"

I just blew up my sultan by, erm, "accident"... and managed to repair its burnt out shell into a new car.

May be a little over powered, but hey ho :)
Posted on August 4, 2012 11:57AM by LukeD1994
How do you install this in EFLC?
Posted on August 18, 2012 1:03PM by CrazyRaisin
Nevermind I got it. Very good mod, you mods are always good matt!
Posted on August 20, 2012 9:48AM by CrazyRaisin
Matt, could you do a version of this mod where repairing only fixes the engine partially, not a total car repair? That would put this mod more in line with a more hardcore experience, and also gives Pay-and-Spray's a little more of their original purpose, to fix a car as well as respray it.
Posted on September 12, 2012 7:09PM by NudasPriest
find the line ClosestVehicle.Repair(); and replace it with ClosestVehicle.EngineHealth = a number 1-1000 that should do it.

So if you want it to only repair %50 of vehicle health replace ClosestVehicle.Repair(); with ClosestVehicle.EngineHealth = 500;
Posted on October 13, 2012 11:27PM by matt19811
Works, but it's a bit stiff.

Sometimes the animation will "repair the air", so your character will basically be next to the car doing the "repairing".

Also, I wish I could just walk away from the repairing to prevent being stuck when there's a threat.

Other than that, it's one of those logical things that Rockstar should've (or could have) put in in the first place.
Posted on December 22, 2012 10:35AM by Damage Inc.
I've noticed another "bug"; I never see the hood of the car closing anymore. Every time my character does the "closing" animation, the lid doesn't go along and when I drive off, the whole thing comes off of course. :P

I wish things like this could get updated a bit.
Posted on January 8, 2013 10:59PM by Damage Inc.
how do you install it ??
Posted on January 21, 2013 1:23PM by Epic-Craft360
How do i change the speed of repairing ?
Posted on February 3, 2013 6:32AM by marcel_fail
Its not working. I disabled the hotkeys from simple native trainer. I use xliveless. My game version is 1.0.7. I copied the file in the GTA IV root folder. I have installed .net 4. Why does this not work ?
Posted on February 3, 2013 9:27AM by marcel_fail
Sry for another post but scripthookdotnet says no dotnet script found. The file was ignored completely
Posted on February 3, 2013 9:49AM by marcel_fail
And another post but i got it working. You had to make a folder called 'scripts' and copy the file in that.

By me the scripthookdotnet dosent loaded it in the main folder.
Posted on February 3, 2013 9:59AM by marcel_fail
How do i change the speed of repairing ?
Posted on February 3, 2013 10:36AM by marcel_fail
not working in the patch
Posted on April 8, 2013 6:53AM by adamkalamondo
find the play.animation lines and increase the numbers at the end to 5.0
Posted on July 21, 2013 9:59PM by matt19811
Needs to be able to repair the engine, not the entire frame, body, wheels, etc
Posted on December 7, 2013 5:04PM by simpilot312
Hello! Matt? Are you still here? I found a bug. After my character open the hood, it just leaves it there and never close it!
Posted on May 15, 2015 12:03PM by taxipassenger
Alright. I spent some time to learn some GTA 4 coding and I finally fixed the bonnet not closing bug for people who choose to only fix the engine and not the whole car!

Just open you with notepad, find the line:

"ClosestVehicle.EngineHealth = 500;"

then add a line below it with:

"GTA.Native.Function.Call("SHUT_CAR_DOOR", ClosestVehicle, 4);"
Posted on May 16, 2015 7:08AM by taxipassenger
Guys How can i Reduce the Repair Speed like 15 or 10 Seconds only ???
Posted on October 10, 2015 8:25AM by Carol
Sorry, you must be registered and logged in to post a comment. Log in now!