InspectingItem
Gets called when the player wants to inspect any item.
Remarks: Keycard and Items that cannot be inspected will not run this event.
Start a script section
!-- OnEvent InspectingItem
-- require @evPlayer *evItem $evIsAllowed
# Add your instructions here
- Group: PlayerEvents
- Cancellable: Yes
- Event data:
PlayerInspectingItemEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who wants to inspect Item. |
*evItem | reference to Item object | Gets the item to be inspected. |
$evIsAllowed | bool value | Whether the event is allowed to run. |