createJob
exports["RiP-JobcenterV2"]:createJob(jobName, jobGrade, jobLabel, jobSalary, xPlayer)
This function creates a job offer
Arguments
Name | Type | Optional | Explenation |
---|---|---|---|
jobName | String | No | Job name |
jobGrade | Integer | No | Job grade |
jobLabel | String | No | Job label |
jobSalary | Integer | No | Job salary |
xPlayer | Object | Yes | ESX xPlayer object |
Example
local xPlayer = ESX.GetPlayerFromId(source)
exports['RiP-JobcenterV2]:createJob("rip", 0, "RiP Development", 999, xPlayer)