ReportingPlayer
Gets called when the player is reporting another player.
Start a script section
!-- OnEvent ReportingPlayer
-- require @evPlayer @evTarget $evReason $evIsAllowed
# Add your instructions here
- Group: PlayerEvents
- Cancellable: Yes
- Event data:
PlayerReportingPlayerEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who is reporting. |
@evTarget | player value | Gets the player who is being reported. |
$evReason | text value | Gets the reason why was player reported. |
$evIsAllowed | bool value | Whether the event is allowed to run. |