Functions/Player/Server/getPreferredModel

From Official DarkRP Wiki
Jump to navigation Jump to search
Function
Function name Player:getPreferredModel(number TeamNr)
Description:
Get the preferred model of a player for a job.
Returns: string model
Part of Library: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/Player/Server/getPreferredModel]Player:getPreferredModel[/url][/b]

Function parameters

  1. TeamNr (number)
  2. The job number.


Function return values

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