DarkRP.canUnwant

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 remove the wanted status from a player
Syntax
canUnwant(Player target, Player actor)
Returns"canUnwant" (boolean): A yes or no answer
"message" (string): The message that is shown when the answer is no

Arguments

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

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