Skip to main content

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

VariableTypeDescription
@evPlayerplayer valueGets the player who is reloading the weapon.
*evFirearmItemreference to FirearmItem objectGets the weapon that is being reloaded.
$evIsAllowedbool valueWhether the event is allowed to run.