Today I bring you a simple command (only took an hour or so to make) that spawns 4 axel stands under the car you are next to, and raises it up, so you may use the mechanic laying on the floor animation, and any other roleplay bits.
I took the raise/lower logic from Nikuez’s mod: [RELEASE] ESX/vRP Repair with cool animation and changed it to use the 4 props, that spawn roughly where the wheels are.
Some cars have differing coords for attaching entities, so the axel stands may be a bit too low/high, but it looks roughly okay from my testing.
To raise the car, use /raisecar and to lower it again afterwards, use /lowercar
Here is a video example (I am also using simple car commands and dpemotes to do the hood opening and mechanic emote respectively):
https://streamable.com/enn8zm (link in case the embedded video doesn’t work)
Download here - updated with checks to stop it working on cars that are not stopped, and that have a driver in them (i.e. so you can’t call it on cars going past you or to troll other players):
lift_car_off_ground.zip (1.8 KB)
Simply drop the lift_car_off_ground folder into your resources folder, and add start lift_car_off_ground to your server.cfg file
Thanks to Supreme_Cat for the improved version which can be found here: GitHub - SupremeCatOG/lift_car_off_ground_modified: Slight modification of the raising/lowering animation