RequestingRaPlayersInfo
Gets called when a player is requesting info for multiple players in the remote admin.
Start a script section
!-- OnEvent RequestingRaPlayersInfo
-- require @evPlayer @evTargets $evIsSensitiveInfo $evHasSensitiveInfoPerms $evHasUserIdPerms *evInfoBuilder $evIsAllowed
# Add your instructions here
- Group: PlayerEvents
- Cancellable: Yes
- Event data:
PlayerRequestingRaPlayersInfoEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | The player that made the request. |
@evTargets | player value | The target players selected. |
$evIsSensitiveInfo | bool value | Gets or sets whether the Player requested 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 UserId of the Targets. |
*evInfoBuilder | reference to StringBuilder object | Gets the StringBuilder used to construct the response message. |
$evIsAllowed | bool value | Whether the event is allowed to run. |