Skip to main content

Uncuffing

Gets called when the player is being undisarmed.

Start a script section

!-- OnEvent Uncuffing
-- require @evPlayer @evTarget $evCanUnDetainAsScp $evIsAllowed

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

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player who is uncuffing another player.
@evTargetplayer valueGets the player who is being uncuffed.
$evCanUnDetainAsScpbool valueGets whether the player can undetain as SCP.
$evIsAllowedbool valueWhether the event is allowed to run.