ProcessingJailbirdMessage
Gets called when processing a player's interaction with the jailbird item.
Start a script section
!-- OnEvent ProcessingJailbirdMessage
-- require @evPlayer *evJailbirdItem $evMessage $evAllowAttack $evAllowInspect $evIsAllowed
# Add your instructions here
- Group: PlayerEvents
- Cancellable: Yes
- Event data:
PlayerProcessingJailbirdMessageEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | The owner of the jailbird. |
*evJailbirdItem | reference to JailbirdItem object | The jailbird item. |
$evMessage | JailbirdMessageType enum value | Gets or sets the JailbirdMessageType 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. |