IsPlayerNameplateHidden
Whether the label over a player’s body is hidden.
Syntax
Section titled “Syntax”IsPlayerNameplateHidden(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”boolean - true while SetPlayerNameplateHidden hides it; false when not connected
Example
Section titled “Example”if IsPlayerNameplateHidden(pid) then SendClientMessage(pid, COLOR_GOLD, "Nobody sees your name.") endSee also
Section titled “See also”SetPlayerNameplateHidden · the Players group of the index
