Hooks/Server/playerUnWarranted

From DarkRP
Jump to navigation Jump to 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[edit]

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

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

Return values[edit]

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