GetPlayerName

From GTA Network Wiki
Jump to: navigation, search

GetPlayerName
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Gets the current player's name

Syntax

string NAPI.Player.GetPlayerName(Client player);

Required Arguments

  • player: parameter input should be in Client type.

NOTE: This function returns data in string type.

Usage example(s)

NAPI.Player.GetPlayerName(player);

References