Functions/DarkRP/Shared/getJobByCommand
Jump to navigation
Jump to search
Function | |
Function name | DarkRP.getJobByCommand(string command) |
Description: | |
Get the job table and number from the command of the job. | |
Returns: | table tbl, number jobindex |
Part of Library: | DarkRP |
Realm: |
![]() |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Shared/getJobByCommand]DarkRP.getJobByCommand[/url][/b] |
Function parameters[edit]
- command (string)
The command of the job, without preceding slash (e.g. 'medic' for medic)