mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 06:01:33 +00:00
Add Job Whitelist
Credits "Jager Bom"
This commit is contained in:
@@ -3,7 +3,7 @@ TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
|
||||
|
||||
ESX.RegisterServerCallback('esx_joblisting:getJobsList', function(source, cb)
|
||||
MySQL.Async.fetchAll(
|
||||
'SELECT * FROM jobs',
|
||||
'SELECT * FROM jobs WHERE whitelisted = false',
|
||||
{},
|
||||
function(result)
|
||||
local data = {}
|
||||
|
||||
Reference in New Issue
Block a user