getJobTable

Description

Returns the entire job table from your framework, which includes all available jobs and their configurations such as labels, grades, types, and permissions.

This is useful for iterating through all jobs or checking job data without referencing a specific player.

Parameters

  • None

Return Value

  • Returns the full Job List table containing all job definitions.

  • This table typically includes keys like "police", "ambulance", "mechanic", etc., each mapping to their respective job configuration.

Example Use Case

local jobs = ps.getJobTable()
for jobName, jobData in pairs(jobs) do
    print("Job Name: " .. jobName)
    print("Job Label: " .. jobData.label)
end

Last updated