DarkRP.Player.arrest

From DarkRP
Revision as of 18:07, 23 July 2020 by FPtje (talk | contribs) (1 revision imported: attempt import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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 hooks.

Syntax[edit]

DescriptionArrest a player
Syntax
arrest([number time, Player Arrester])
ReturnsNone.

Arguments

  • time (number) (optional)
  • For how long the player is arrested

  • Arrester (Player) (optional)
  • The player who arrested the target