DarkRP.canRequestWarrant

From Official DarkRP Wiki
Jump to: navigation, 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.

Syntax

DescriptionWhether someone can request a search warrant.
Syntax
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

Arguments

  • 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