IsPlayerNametagShowing
isPlayerNametagShowing
Compatibility alias for isPlayerNameplateVisible.
Syntax
bool isPlayerNametagShowing(int playerId)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
playerId |
int |
yes | The connected player identifier. |
Returns
Returns the same value as isPlayerNameplateVisible.
Examples
Use the MTA-style compatibility name:
local visible = isPlayerNametagShowing(playerId)
Notes
- Available only in server-side resource scripts.
- New resources may use
isPlayerNameplateVisiblefor terminology consistent with the native UI.