GetJobsInfo (Method)
From Legacy Roblox Wiki
(Redirected from GetJobsInfo)
Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
GetJobsInfo( ) | |
Returns | Table jobsInfo |
Description: | Returns a table containing the jobs performed by the game, and one reference table. The reference table contains the names of the values in the other tables. |
Member of: | DataModel |
Example
If you are using the Command Bar or a CoreScript...
local n = 1 local ref = 1 local refTable = game:GetJobsInfo()[1] -- This is the reference table. print( refTable ) --> table: [location in memory] print( "Job #" .. n .. "'s " .. game:GetJobsInfo()[1][ref] .. " is " .. game:GetJobsInfo()[n + 1][ref] .. ".") --> Job #1's name is ScriptReview.
If you are using a Script or a LocalScript...
print( game:GetJobsInfo() ) --> s GetJobsInfo