Skip to main content

RequestingRaPlayerInfo

Gets called when a player is requesting info for a target player in the remote admin.

Start a script section

!-- OnEvent RequestingRaPlayerInfo
-- require @evPlayer @evTarget $evIsSensitiveInfo $evHasSensitiveInfoPerms $evHasUserIdPerms *evInfoBuilder $evIsAllowed

# Add your instructions here
  • Group: PlayerEvents
  • Cancellable: Yes
  • Event data: PlayerRequestingRaPlayerInfoEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueThe player than made the request.
@evTargetplayer valueThe target player selected.
$evIsSensitiveInfobool valueGets or sets whether the player is requesting sensitive info.
$evHasSensitiveInfoPermsbool valueGets or sets whether the player has permissions to view sensitive info.
Remarks: If IsSensitiveInfo is and this is no response is sent.
$evHasUserIdPermsbool valueGets or sets whether the player has permission to view the TargetUserId.
*evInfoBuilderreference to StringBuilder objectThe StringBuilder used to construct the response message.
$evIsAllowedbool valueWhether the event is allowed to run.