Skip to main content

SearchedAmmo

Gets called when the player has searched for ammo.

Start a script section

!-- OnEvent SearchedAmmo
-- require @evPlayer *evAmmoPickup

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

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player who searched for ammo pickup.
*evAmmoPickupreference to AmmoPickup objectGets the ammo pickup.