Skip to main content

UnloadedWeapon

Gets called when the player has unloaded a weapon.

Start a script section

!-- OnEvent UnloadedWeapon
-- require @evPlayer *evFirearmItem

# Add your instructions here
  • Group: PlayerEvents
  • Cancellable: No
  • Event data: PlayerUnloadedWeaponEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player who unloaded the weapon.
*evFirearmItemreference to FirearmItem objectGets the weapon that was unloaded.