From Official DarkRP Wiki
|Hook name||onPlayerDemoted(Player source, Player target, string reason)|
|Called when a player is demoted.|
|BBCode Link:||[b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/onPlayerDemoted]onPlayerDemoted hook[/url][/b]|
- source (Player)
- target (Player)
- reason (string)
The player who demoted the target.
The player who has been demoted.
The reason provided for the demote.
This hook does not accept return values. You can still return a value to override the default implementation of this hook.