Jump to navigation Jump to search
|Hook name||canDemote(Player ply, Player target, string reason)|
|Whether a player can demote another player.|
|Returns:||boolean canDemote, string message|
|BBCode Link:||[b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/canDemote]canDemote hook[/url][/b]|
- ply (Player)
- target (Player)
- reason (string)
The player who wants to demote.
The player whom is to be demoted.
The reason provided for the demote.