Skip to main content

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

VariableTypeDescription
@evPlayerplayer valueGets the player who wants to inspect Item.
*evItemreference to Item objectGets the item to be inspected.
$evIsAllowedbool valueWhether the event is allowed to run.