Ls customs in vinewood
Seems like they end up in the garage.
Do you mind giving me the coordinates?
You need the ESX-Garage addon
Ohh, Iāll probably remove the line from the menu then, Iām using eden garage v2, it suits my needs (server needs) better, thanks for your help, I appreciate it
For those of you that are having trouble with the updated mecanojob (The people posting issues on the git), make sure the job in the Database is named āmechanicā rather than āmecanoā. And if for whatever reason you want it kept āmecanoā, make sure you edit the multiple lines of code inside of the client/main.lua that is checking if a players job name is āmechanicā in order to display markers, have the ability to open menus etc etcā¦ make sure it is edited to āmecanoā. Example below.
Line 919 - The function that this line is in is what will display the markers if a usersā job is set to āmecanoā. How it should look if the job is named āmecanoā in the database.
if ESX.PlayerData.job and ESX.PlayerData.job.name == 'mecano' then
Line 919 - The function that this line is in is what will display the markers if a usersā job is set to āmechanicā. How it should look if the job is named āmechanicā in the database.
if ESX.PlayerData.job and ESX.PlayerData.job.name == 'mechanic' then
Youād repeat these examples for the rest of the code that checks for the job āmechanicā.
Can someone Help me i have the mechanic job but the invoices dont work if i send a invoice and he paid the invoice you dont get the money
How do you modify this line in client.lua to tell billing to pay player and not society?
riggerServerEvent('esx_billing:sendBill', GetPlayerServerId(closestPlayer), 'society_mechanic', _U('mechanic'), amount)
i have set society_mechanic do i need to replace society_mechanic to player if i want to get the money not to Society but the player
How can mechanic manage they money?
Why boss is not enough expirianced to craft?
Is the a option to go off duty ?
Hey everyone everything seams to be working well, but how do i go about adding a second garage location to the map? with different job points? i know it needs to be in the config, but i cant figure out how to add it into the initial script.
I have the same question ^^ How can i add more mechanic locations?
Its in client.lua
AddEventHandler('esx_mechanicjob:hasEnteredMarker', function(zone)
if zone == NPCJobTargetTowable then
elseif zone =='VehicleDelivery' then
NPCTargetDeleterZone = true
elseif zone == 'MechanicActions' then
CurrentAction = 'mechanic_actions_menu'
CurrentActionMsg = _U('open_actions')
CurrentActionData = {}
elseif zone == 'MechanicActions1' then
CurrentAction = 'mechanic_actions_menu'
CurrentActionMsg = _U('open_actions')
CurrentActionData = {}
elseif zone == 'Garage' then
CurrentAction = 'mechanic_harvest_menu'
CurrentActionMsg = _U('harvest_menu')
CurrentActionData = {}
elseif zone == 'Garage1' then
CurrentAction = 'mechanic_harvest_menu'
CurrentActionMsg = _U('harvest_menu')
CurrentActionData = {}
elseif zone == 'Craft' then
CurrentAction = 'mechanic_craft_menu'
CurrentActionMsg = _U('craft_menu')
CurrentActionData = {}
elseif zone == 'VehicleDeleter' then
local playerPed = PlayerPedId()
if IsPedInAnyVehicle(playerPed, false) then
local vehicle = GetVehiclePedIsIn(playerPed, false)
CurrentAction = 'delete_vehicle'
CurrentActionMsg = _U('veh_stored')
CurrentActionData = {vehicle = vehicle}
end
end
end)
Thx
I have another question, how can I add another VehicleSpawnPoint?
How i can Refuel Cars, when player cars are Empty?
Hi,
it is possible to make that only mechanic will see mechanic job menu when standing on blip in mechanic garage?
Thanks