Skip to content

Commit

Permalink
Merge pull request #515 from bitpredator/develop
Browse files Browse the repository at this point in the history
fix: (esx_joblisting\client\main.lua) fix lint error
  • Loading branch information
bitpredator authored Sep 14, 2023
2 parents 1b4ff93 + 211ee62 commit 0ea90a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions server-data/resources/[esx_addons]/esx_joblisting/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<h1 align='center'>[ESX] Job Listing</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://docs.esx-framework.org/legacy/installation'>Documentation</a></b></h5>

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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 0ea90a9

Please sign in to comment.