Hooks/Server/canChangeJob
Hook | |
Hook name | canChangeJob(Player ply, string job) |
Description: | |
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 |
Realm: | |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/canChangeJob]canChangeJob hook[/url][/b] |
Parameters[edit]
- ply (Player)
- job (string)
The player whom is to change their job.
The job name (what the player entered in the /job command).