From DarkRP
Revision as of 18:45, 26 August 2020 by DarkRPWikiBot (talk | contribs) (Wikibot updated DarkRP documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hook name canUnwant(Player target, Player actor)
Whether someone can remove the wanted status from a player
Returns: boolean canUnwant, string message
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Shared/canUnwant]canUnwant hook[/url][/b]


  1. target (Player)
  2. The player to make wanted by the police

  3. actor (Player)
  4. The player requesting the wanted status

Return values[edit]

  1. canUnwant (boolean)
  2. A yes or no answer

  3. message (string)
  4. The message that is shown when the answer is no