From 1f3b47e5c66d2c6c4f52d16f7761ba88b9c10a38 Mon Sep 17 00:00:00 2001 From: Deliux Date: Fri, 22 Jul 2022 02:10:38 +0300 Subject: [PATCH 1/2] fixed missing locale --- [esx_addons]/esx_mechanicjob/locales/en.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/[esx_addons]/esx_mechanicjob/locales/en.lua b/[esx_addons]/esx_mechanicjob/locales/en.lua index 38d48934..2dc4dfac 100644 --- a/[esx_addons]/esx_mechanicjob/locales/en.lua +++ b/[esx_addons]/esx_mechanicjob/locales/en.lua @@ -46,6 +46,7 @@ Locales['en'] = { ['cant_attach_own_tt'] = 'you can\'t attach own tow truck', ['no_veh_att'] = 'there is no vehicle to be attached', ['not_right_veh'] = 'this is not the right vehicle', + ['not_right_place'] = 'this is not the right place', ['veh_det_succ'] = 'vehicle successfully dettached!', ['imp_flatbed'] = 'Action impossible! You need a Flatbed to load a vehicle', ['objects'] = 'objects', From 790800102ce602a03f763860442b40cf9ce57528 Mon Sep 17 00:00:00 2001 From: Deliux Date: Fri, 22 Jul 2022 02:11:13 +0300 Subject: [PATCH 2/2] fixed NPC job not working --- [esx_addons]/esx_mechanicjob/client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[esx_addons]/esx_mechanicjob/client/main.lua b/[esx_addons]/esx_mechanicjob/client/main.lua index b7accd91..2ae86b0c 100644 --- a/[esx_addons]/esx_mechanicjob/client/main.lua +++ b/[esx_addons]/esx_mechanicjob/client/main.lua @@ -963,7 +963,7 @@ end, false) -RegisterCommand('startmechanicjob', function() +RegisterCommand('mechanicjob', function() local playerPed = PlayerPedId() if ESX.PlayerData.job and ESX.PlayerData.job.name == 'mechanic' then if NPCOnJob then