Hooks/Server/playerUnWanted

From Official DarkRP Wiki
Jump to: navigation, 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

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

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

Return values

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