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