Revision Difference
player.GetBySteamID#565103
<function name="GetBySteamID" parent="player" type="libraryfunc">
	<description>Gets the player with the specified SteamID.
	<warning>Internally this function iterates over all players in the server, meaning it can be quite expensive in a performance-critical context.</warning>
	<warning>This function now uses <page>player.Iterator</page>. This means it can't run all the time, as an error in the <page>GM:OnEntityCreated</page> or <page>GM:EntityRemoved</page> hooks is likely to interrupt it. Make sure that no addon causes an error in these hooks.</warning>⤶
</description>
	<realm>Shared</realm>
	<file line="287-L297">lua/includes/extensions/player.lua</file>
	<args>
		<arg name="steamID" type="string">The <page>Player:SteamID</page> to find the player by.</arg>
	</args>
	<rets>
		<ret name="" type="Player|boolean">Player if one is found, `false` otherwise.</ret>
	</rets>
</function>
 Garry's Mod
			Garry's Mod 
		 Rust
			Rust 
		 Steamworks
			Steamworks 
		 Wiki Help
			Wiki Help