IsPlayerNameplateVisible
isPlayerNameplateVisible
Checks whether a player's overhead nameplate is visible.
Syntax
bool isPlayerNameplateVisible(int playerId)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
playerId |
int |
yes | The connected player identifier. |
Returns
Returns true when visible; otherwise returns false.
Examples
Check label visibility:
if not isPlayerNameplateVisible(playerId) then
outputDebugString("Nameplate hidden")
end
Notes
- Available only in server-side resource scripts.