From Official DarkRP Wiki
Jump to navigation Jump to search
Function name Player:changeAllowed(number team)
Returns whether a player is allowed to get a certain job.
Returns: boolean allowed
Part of Library: Player
Realm: NewerServer.png
BBCode Link: [b][url=]Player:changeAllowed[/url][/b]

Function parameters

  1. team (number)
  2. The job.

Function return values

  1. allowed (boolean)
  2. Whether the player is allowed to get the job.