Jump to navigation Jump to search
|Hook name||canChangeJob(Player ply, string job)|
|Whether a player can change their job. NOTE: This is only for the /job comand! The hook for changing to a pre-existing job is playerCanChangeTeam.|
|Returns:||boolean canChangeJob, string message, string replace|
|BBCode Link:||[b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/canChangeJob]canChangeJob hook[/url][/b]|
- ply (Player)
- job (string)
The player whom is to change their job.
The job name (what the player entered in the /job command).