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
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | The player than made the request. |
@evTarget | player value | The target player selected. |
$evIsSensitiveInfo | bool value | Gets or sets whether the player is requesting sensitive info. |
$evHasSensitiveInfoPerms | bool value | Gets or sets whether the player has permissions to view sensitive info. Remarks: If IsSensitiveInfo is and this is no response is sent. |
$evHasUserIdPerms | bool value | Gets or sets whether the player has permission to view the TargetUserId. |
*evInfoBuilder | reference to StringBuilder object | The StringBuilder used to construct the response message. |
$evIsAllowed | bool value | Whether the event is allowed to run. |