Garry's Mod Wiki

Player:Nick

Description

Returns the player's nickname.

Returns

1 string
Player's Steam name

Example

Prints the player's nickname

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