IsPlayerNameplateIdVisible

From Wiki G1R-MP G1 Remake Multiplayer
Revision as of 03:08, 9 September 2026 by QCherry (talk | contribs) (Document universal per-observer nameplates and test resource available from update 0.1.3)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

isPlayerNameplateIdVisible

AVAILABLE FROM UPDATE 0.1.3
This function is available in G1R:MP 0.1.3 and later. The contract below includes the compatibility guarantees introduced in that update.

Reads the global numeric-ID visibility policy before per-observer overrides.

Syntax

bool isPlayerNameplateIdVisible(int playerId)

Parameters

Name Type Required Description
playerId int yes The connected player identifier.

Returns

Returns the global ID visibility boolean (default true), or false for an invalid player/service. It does not report whether a nameplate is currently rendered.

Examples

Read global ID policy:

local visible = isPlayerNameplateIdVisible(playerId)

Notes