Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions [core]/es_extended/server/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,18 @@ function ESX.GetItemLabel(item)
end
end

---@param item string
---@return boolean
function ESX.DoesItemExist(item)
return ESX.Items[item] ~= nil
end

---@param account string
---@return boolean
function ESX.DoesAccountExist(account)
return Config.Accounts[account] ~= nil
end

---@param jobType string|string[]?
---@return table
function ESX.GetJobs(jobType)
Expand Down
Loading