Garry's Mod Wiki

Player:Name

string 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

Page Links


Special Pages


Wikis

?

Render Time: 33ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 12
Render Body 0
Render Sidebar 12