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
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who searched for ammo pickup. |
*evAmmoPickup | reference to AmmoPickup object | Gets the ammo pickup. |