Hooks/Server/playerUnWanted

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

Parameters[edit]

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

  3. actor (Player)
  4. The person who unwanted the ex criminal.

Return values[edit]

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