Garry's Mod Wiki

Player:Nick

Description

Returns the player's name. Identical to Player:Name and Player:GetName.

Returns

1 string
Player's name

Example

Prints the players name in console.

print( Entity( 1 ):Name() )
Output: Player1