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