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
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who shot. |
*evFirearmItem | reference to FirearmItem object | Gets the firearm that the player shot from. |