Functions/DarkRP/Shared/createJob

From Official DarkRP Wiki
Jump to navigation Jump to search
Function
Function name DarkRP.createJob(string name, table tbl)
Description:
Create a job for DarkRP.
Returns: number team
Part of Library: DarkRP
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Shared/createJob]DarkRP.createJob[/url][/b]

Function parameters

  1. name (string)
  2. The name of the job.

  3. tbl (table)
  4. Table containing the information for the job.


Function return values

  1. team (number)
  2. The team number of the job you've created.