Skip to main content

createJob

exports["RiP-JobcenterV2"]:createJob(jobName, jobGrade, jobLabel, jobSalary, xPlayer) 

This function creates a job offer

Arguments

NameTypeOptionalExplenation
jobNameStringNoJob name
jobGradeIntegerNoJob grade
jobLabelStringNoJob label
jobSalaryIntegerNoJob salary
xPlayerObjectYesESX xPlayer object

Example

local xPlayer = ESX.GetPlayerFromId(source)

exports['RiP-JobcenterV2]:createJob("rip", 0, "RiP Development", 999, xPlayer)