Player/Name

From Garry's Mod
Revision as of 22:55, 26 July 2018 by Code gs (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 Player:Name( )

Contents

Description

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

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 players name in console.

print(Player(1):Name())

Output:

YourNameHere
Personal tools
Navigation