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


  1. arrester (Player)
  2. The player trying to arrest someone.

  3. arrestee (Player)
  4. The player being arrested.

Return values[edit]

  1. canArrest (boolean)
  2. A yes or no as to whether the arrester can arrest the arestee.

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