Garry's Mod Wiki

Player:SteamName

  string Player:SteamName()

Description

Returns the player's Steam display name. See Player:Nick for their in-game name.

Returns

1 string
Player's Steam display name.

Example

Prints the player's Steam name in console.

Output: garry