DarkRP.Player.setArrested

From DarkRP
This page refers to DarkRP 2.4.3. This information may be incorrect as of later versions.
Check here for a up-to-date list of functions.
Function
Function name Player:setArrested(boolean bool)
Description:
Sets the player as arrested or not in the arrested players list. Do not use for simple arrest/unarrest.
Returns: nil
Part of Library: Player
Realm:
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=DarkRP.Player.setArrested]Player:setArrested[/url][/b]

Additional Notes[edit]

  • Do not use for simple arrest/unarrest.
  • To arrest a player, use Player:Arrest instead.
  • To unarrest a player, user Player:Unarrest instead.
  • This function is called in both of the above.