Garry's Mod Wiki

player.GetBySteamID

player.GetBySteamID

  Player player.GetBySteamID( string steamID )

Description

Gets the player with the specified SteamID.

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

Arguments

1 string steamID
The Player:SteamID to find the player by.

Returns

1 Player
Player if one is found, false otherwise.

Special Pages


Wikis

?

Render Time: 20ms

DB GetPage 2
Generate Html 3
SaveChanges (1) 5
Render Body 0
Render Sidebar 7