GetPlayerNametagText

From Wiki G1R-MP G1 Remake Multiplayer
Jump to navigation Jump to search

getPlayerNametagText

Compatibility alias for getPlayerNameplateText.

Syntax

string|false getPlayerNametagText(int playerId)

Parameters

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

Returns

Returns the same value as getPlayerNameplateText.

Examples

Use the MTA-style compatibility name:

local text = getPlayerNametagText(playerId)

Notes

  • Available only in server-side resource scripts.
  • New resources may use getPlayerNameplateText for terminology consistent with the native UI.