Garry's Mod Wiki

Player:Nick

string Player:Nick()

Description

Returns the player's nickname.

Returns

1 string
Player's Steam name

This is limited to 31 characters even though Steam names can have 32.

Issue Tracker: 3178

Example

Prints the player's nickname

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

Page Links


Special Pages


Wikis

?

Render Time: 28ms

DB GetPage 4
Generate Html 2
SaveChanges (1) 8
Render Body 0
Render Sidebar 12