Skip to main content

ShotWeapon

Gets called when the player has shot from a weapon.

Start a script section

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

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

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player who shot.
*evFirearmItemreference to FirearmItem objectGets the firearm that the player shot from.