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
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who is detaining another one. |
@evTarget | player value | Gets the player who is being detained. |
$evIsAllowed | bool value | Whether the event is allowed to run. |