ResetPlayerNameplateText
Jump to navigation
Jump to search
resetPlayerNameplateText
Removes a player's global custom overhead text, restoring the canonical player name as the fallback.
Syntax
bool resetPlayerNameplateText(int playerId)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
playerId |
int |
yes | The connected player identifier. |
Returns
Returns true when the state was reset; otherwise returns false.
Examples
Remove a temporary roleplay label:
resetPlayerNameplateText(playerId)
Notes
- Available only in server-side resource scripts.
- Does not clear per-observer text overrides or change visibility/ID policy. See Observer nameplates.