GetPlayerNametag

From GT-MP
Jump to: navigation, search
GetPlayerNametag
Server-Side Function
Utilities-terminal.png Server-Side Csharp.png C#

Gets the Nametag of a specific Player. Can be set with setPlayerNametag.


Syntax

API.getPlayerNametag(Client player);

Required Arguments

  • player: parameter input should be in Client type.

NOTE: This function returns data in string type.

Usage example(s)

API.getPlayerNametag(player);

OOP:

string nametag = player.nametag;


References