Garry's Mod Wiki

player.GetBySteamID64

  Player player.GetBySteamID64( string steamID64 )

Description

Gets the player with the specified SteamID64.

Internally this function iterates over all players in the server, meaning it can be quite expensive in a performance-critical context.

Arguments

1 string steamID64
The Player:SteamID64 to find the player by.

Returns

1 Player
Player if one is found, false otherwise.