From DarkRP
Jump to navigation Jump to search
This page refers to DarkRP 2.4.3. This information may be incorrect as of later versions.
Check here for a up-to-date list of hooks.


DescriptionWhether someone can request a search warrant.
canRequestWarrant(Player target, Player actor, Player reason)
Returns"canRequest" (boolean): A yes or no as to whether the search warrant can be requested
"message" (string): The message that is shown when it can't


  • target (Player)
  • The player to get the search warrant for

  • actor (Player)
  • The player requesting the warrant

  • reason (Player)
  • The reason for the search warrant