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.

Example

Prints the player's nickname

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

Page Links


Special Pages


Wikis

?

Render Time: 28ms

Session 0
DB GetPage 5
Generate Html 2
SaveChanges 11
Render Body 0
Render Sidebar 8