SpinningRevolver
Gets called when the player requests to spin the revolver.
Start a script section
!-- OnEvent SpinningRevolver
-- require @evPlayer *evRevolver $evIsAllowed
# Add your instructions here
- Group: PlayerEvents
- Cancellable: Yes
- Event data:
PlayerSpinningRevolverEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who is attempting to spin the revolver. |
*evRevolver | reference to RevolverFirearm object | Gets the revolver item. |
$evIsAllowed | bool value | Whether the event is allowed to run. |