SearchingArmor
Gets called when the player is searching for armor.
Start a script section
!-- OnEvent SearchingArmor
-- require @evPlayer *evBodyArmorPickup $evIsAllowed
# Add your instructions here
- Group: PlayerEvents
- Cancellable: Yes
- Event data:
PlayerSearchingArmorEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player searching for armor. |
*evBodyArmorPickup | reference to BodyArmorPickup object | Gets the armor pickup. |
$evIsAllowed | bool value | Whether the event is allowed to run. |