ProcessingScp1509Message
Gets called when processing a player's interaction with the Scp1509 item.
Start a script section
!-- OnEvent ProcessingScp1509Message
-- require @evPlayer *evScp1509Item $evMessage $evAllowAttack $evAllowInspect $evIsAllowed
# Add your instructions here
- Group: PlayerEvents
- Cancellable: Yes
- Event data:
PlayerProcessingScp1509MessageEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | The owner of the SCP-1509 item. |
*evScp1509Item | reference to Scp1509Item object | The Scp1509 item. |
$evMessage | Scp1509MessageType enum value | Gets or sets the Scp1509MessageType sent by the player. |
$evAllowAttack | bool value | Gets or sets whether starting an attack is allowed. |
$evAllowInspect | bool value | Gets or sets whether starting an inspect is allowed. |
$evIsAllowed | bool value | Whether the event is allowed to run. |