Player/Nick

From Garry's Mod
Jump to: navigation, search
 Player:Nick( )

Contents

Description

Returns the player's nickname.

Returns

string

Player's Steam name

BUG

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

Issue Tracker: #3178

Examples

Example

Prints the player's nickname

print( Entity(1):Nick() )

Output:

Ninja101
Personal tools
Navigation