Hooks/Server/canDemote
Jump to navigation
Jump to search
Hook | |
Hook name | canDemote(Player ply, Player target, string reason) |
Description: | |
Whether a player can demote another player. | |
Returns: | boolean canDemote, string message |
Realm: |
![]() |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/canDemote]canDemote hook[/url][/b] |
Parameters[edit]
- 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.