From DarkRP
Jump to navigation Jump to search
Hook name canUnarrest(Player unarrester, Player unarrestee)
Whether someone can unarrest another player.
Returns: boolean canUnarrest, string message
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/canUnarrest]canUnarrest hook[/url][/b]


  1. unarrester (Player)
  2. The player trying to unarrest someone.

  3. unarrestee (Player)
  4. The player being unarrested.

Return values[edit]

  1. canUnarrest (boolean)
  2. A yes or no as to whether the player can unarrest the other player.

  3. message (string)
  4. The message that is shown when they can't unarrest the player.