Hooks/Server/playerArrested

From DarkRP
Jump to navigation Jump to search
Hook
Hook name playerArrested(Player criminal, number time, Player actor)
Description:
When a player is arrested.
Returns: nil
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/playerArrested]playerArrested hook[/url][/b]

Parameters[edit]

  1. criminal (Player)
  2. The arrested criminal.

  3. time (number)
  4. The jail time.

  5. actor (Player)
  6. The person who arrested the criminal.

Return values[edit]

This hook does not accept return values. You can still return a value to override the default implementation of this hook.