DarkRP.canWanted

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 make a player wanted
Syntax
canWanted(Player target, Player actor, Player reason)
Returns"canRequest" (boolean): A yes or no as to whether the wanted can be requested
"message" (string): The message that is shown when it can't

Arguments

  • target (Player)
  • The player to make wanted by the police

  • actor (Player)
  • The player requesting the wanted status

  • reason (Player)
  • The reason