[Release] [ESX] [Mechanic Job]


#64

You sir are a god send. Thank you soo much <3


#65

No problem :slight_smile:


#66

thanks @DarSha only one problem tatt’s are not saveing any help?


#67

tatts?


#68

I changed the animation to a laying down animation to repair the vehicles. The issue I am having is I need to be looking at the vehicle to repair it and the animation is flipped so my legs are underneath the car instead of my torso. Any way to change the code so that you dont have to be looking at the vehicle to repair it or flip the animation 180 degrees?

Here is the part of the lua I am working with -

	local playerPed = GetPlayerPed(-1)
	local vehicle   = ESX.Game.GetVehicleInDirection()
	local coords    = GetEntityCoords(playerPed)

	if IsPedSittingInAnyVehicle(playerPed) then
		ESX.ShowNotification(_U('inside_vehicle'))
		return
	end

	if DoesEntityExist(vehicle) then
		IsBusy = true
		TaskStartScenarioInPlace(playerPed, "WORLD_HUMAN_VEHICLE_MECHANIC", 0, true)
		Citizen.CreateThread(function()
			Citizen.Wait(20000)

			SetVehicleFixed(vehicle)
			SetVehicleDeformationFixed(vehicle)
			SetVehicleUndriveable(vehicle, false)
			SetVehicleEngineOn(vehicle, true, true)
			ClearPedTasksImmediately(playerPed)

			ESX.ShowNotification(_U('vehicle_repaired'))
			IsBusy = false

#69

anyone know were you harvest the items needed to craft


#70

nice script dude!
can someone help me to add vehicles for mechanics?


#71

Hmm… i need some help!
I have installd every thing and i get no errors when starting the server.
BUT I cant access the options menu or the menu to take resources…
Any ideas how to fix it?


#72

How would i go about making the Yellow Mechanic icon on the map smaller? i want to make it the same size as the other icons on map is this possible please? thanks, also thank you for releasing the script


#73

you go in client and look for the line that configures the blip and in SetBlipScale you can change the size of the blip.


#74

Hey, i’m new at this. i want to add mechanic job to my server but when i try i can use without mechano perms everyone can use machanic. What i need to fix this?


#75

if you want to restrict the job, you have to whitelist the job in the database


#77

How do I add a work clothing option, Ive tried and failed


#78

Hey how do i give myself body tools gas cans to be able to use in the crafting menu? If anyone could give me the names/ids of the tools would really appreciate it.


#79

@Ripe and @VintageCookie both of you have to look into the database.
There you can Set the clothes for the Job and you can See in items table what Name the mecanoitems has


#80

Hi, The menu is not popping up when they press F6 (what is the default)


#81

anyone have luck using menu? cant seem to actually take the job and use the menu nothing at the blip


#83

Hi, I need a little help with this one.
There’s an “Impound vehicle” selection in the menu, when you press it, it says that the vehicle has been impounded. Now to my questions:

  1. Where are they located now?
  2. How are they unimpounded?

I’ve checked the police station, the garages and the workshop, but can’t seem to find them anywhere.

Good script however overall!


#84

Does it have built in lock/unlock vehicle system for mechanics so they can lock/unlock their vehicles?


#85

Have you ever find out where they go?!