Garry's Mod Wiki

Player:Name

Player:Name

Description

Returns the players name. Identical to Player:Nick and Player:GetName.

Returns

1 string
Player's Steam name.

Example

Prints the players name in console.

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

Special Pages


Wikis

?

Render Time: 52ms

DB GetPage 35
Generate Html 3
SaveChanges (1) 5
Render Body 0
Render Sidebar 7