Functions/DarkRP/Client/getPreferredJobModel

From Official DarkRP Wiki
Revision as of 14:12, 31 October 2015 by DarkRPBot (talk | contribs) (Wikibot updated DarkRP documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Function
Function name DarkRP.getPreferredJobModel(number teamNr)
Description:
Get the model preferred by the player (if the job allows multiple models).
Returns: string model
Part of Library: DarkRP
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Client/getPreferredJobModel]DarkRP.getPreferredJobModel[/url][/b]

Function parameters

  1. teamNr (number)
  2. The team number of the job.


Function return values

  1. model (string)
  2. The preferred model for the job.