From 9ccbb07758f1175898e72e7beb017137b78d9f15 Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Thu, 14 Sep 2023 22:18:33 +0200 Subject: [PATCH 1/3] fix:(esx_joblisting\client\main.lua) fix lint error --- .../resources/[esx_addons]/esx_joblisting/client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-data/resources/[esx_addons]/esx_joblisting/client/main.lua b/server-data/resources/[esx_addons]/esx_joblisting/client/main.lua index 5e958e133..01a8729e7 100644 --- a/server-data/resources/[esx_addons]/esx_joblisting/client/main.lua +++ b/server-data/resources/[esx_addons]/esx_joblisting/client/main.lua @@ -9,7 +9,7 @@ function ShowJobListingMenu() elements[#elements + 1] = {title = jobs[i].label, name = jobs[i].name} end - ESX.OpenContext("right", elements, function(menu, SelectJob) + ESX.OpenContext("right", elements, function(_, SelectJob) TriggerServerEvent('esx_joblisting:setJob', SelectJob.name) ESX.CloseContext() ESX.ShowNotification(_U('new_job', SelectJob.title), "success") From 7fc652c338561652290442816e2f43d040962196 Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Thu, 14 Sep 2023 22:19:57 +0200 Subject: [PATCH 2/3] chore: update esx_joblisting\README.md --- server-data/resources/[esx_addons]/esx_joblisting/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/server-data/resources/[esx_addons]/esx_joblisting/README.md b/server-data/resources/[esx_addons]/esx_joblisting/README.md index a8e4cfd5f..623cca3a9 100644 --- a/server-data/resources/[esx_addons]/esx_joblisting/README.md +++ b/server-data/resources/[esx_addons]/esx_joblisting/README.md @@ -1,12 +1,10 @@ -
Discord - Website - Documentation - This Simple resource lets you finally contribute to Society and make a difference in the Word! How? it adds an amazing Menu where you can pick what you want to be in life - want to be a police officier? No-problem! Or maybe you want to stalk people and be a creepy reporter? We got you covered! ## Legal esx_joblisting - virtual Job Center! -Copyright (C) 2015-2022 Jérémie N'gadi, ESX-Framework +Copyright (C) 2015-2023 Jérémie N'gadi, ESX-Framework This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version. From 211ee62a1b0cf9c6a61c41ed7e0f1f75c88a6dbf Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Thu, 14 Sep 2023 22:25:48 +0200 Subject: [PATCH 3/3] chore:(esx_joblisting\server\main.lua) minor fix --- .../resources/[esx_addons]/esx_joblisting/server/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-data/resources/[esx_addons]/esx_joblisting/server/main.lua b/server-data/resources/[esx_addons]/esx_joblisting/server/main.lua index 7be7b151b..c0cddab49 100644 --- a/server-data/resources/[esx_addons]/esx_joblisting/server/main.lua +++ b/server-data/resources/[esx_addons]/esx_joblisting/server/main.lua @@ -44,4 +44,4 @@ AddEventHandler('esx_joblisting:setJob', function(job) print("[^1ERROR^7] Tried Setting User ^5".. source .. "^7 To Invalid Job - ^5"..job .."^7!") end end -end) +end) \ No newline at end of file