Hooks/Server/playerUnWarranted

From Official DarkRP Wiki
Jump to: navigation, search
Hook
Hook name playerUnWarranted(Player excriminal, Player actor)
Description:
When a player is unwarranted.
Returns: boolean suppressMsg
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/playerUnWarranted]playerUnWarranted hook[/url][/b]

Parameters

  1. excriminal (Player)
  2. The potential criminal.

  3. actor (Player)
  4. The person who unwarranted the potential criminal

Return values

  1. suppressMsg (boolean)
  2. Return true to make the unwarrant silent.