Skip to main content

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

VariableTypeDescription
@evPlayerplayer valueGets the player who is reporting.
@evTargetplayer valueGets the player who is being reported.
$evReasontext valueGets the reason why was player reported.
$evIsAllowedbool valueWhether the event is allowed to run.