Skip to main content

ValidatedVisibility

Gets called when a player has validated the visibility of a target player.

Start a script section

!-- OnEvent ValidatedVisibility
-- require @evPlayer @evTarget $evIsVisible

# Add your instructions here
  • Group: PlayerEvents
  • Cancellable: No
  • Event data: PlayerValidatedVisibilityEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueThe observing player that checked if they could see the target.
@evTargetplayer valueThe target player that was checked for visibility from the observer.
$evIsVisiblebool valueGets or sets whether the observer Player could see the target Target.