Functions/Player/Server/changeAllowed
Function | |
Function name | Player:changeAllowed(number team) |
Description: | |
Returns whether a player is allowed to get a certain job. | |
Returns: | boolean allowed |
Part of Library: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Functions/Player/Server/changeAllowed]Player:changeAllowed[/url][/b] |
Function parameters[edit]
- team (number)
The job.
Function return values[edit]
- allowed (boolean)
Whether the player is allowed to get the job.