ReloadingWeapon
Gets called when the player is reloading a weapon.
Start a script section
!-- OnEvent ReloadingWeapon
-- require @evPlayer *evFirearmItem $evIsAllowed
# Add your instructions here
- Group: PlayerEvents
- Cancellable: Yes
- Event data:
PlayerReloadingWeaponEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who is reloading the weapon. |
*evFirearmItem | reference to FirearmItem object | Gets the weapon that is being reloaded. |
$evIsAllowed | bool value | Whether the event is allowed to run. |