Functions/Player/Server/arrest

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

  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

This function does not return any value.