Functions/Player/Server/arrest

From DarkRP
Jump to navigation Jump to search
Function
Function name Player:arrest(number time, Player Arrester)
Description:
Arrest a player.
Returns: nil
Part of Library: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/Player/Server/arrest]Player:arrest[/url][/b]

Function parameters[edit]

  1. time (number) (optional)
  2. For how long the player is arrested.

  3. Arrester (Player) (optional)
  4. The player who arrested the target.


Function return values[edit]

This function does not return any value.