Skip to main content

Cuffing

Gets called when the player is being disarmed by another.

Start a script section

!-- OnEvent Cuffing
-- require @evPlayer @evTarget $evIsAllowed

# Add your instructions here
  • Group: PlayerEvents
  • Cancellable: Yes
  • Event data: PlayerCuffingEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player who is detaining another one.
@evTargetplayer valueGets the player who is being detained.
$evIsAllowedbool valueWhether the event is allowed to run.