Revision Difference
GM:PlayerAuthed#517765
<function name="PlayerAuthed" parent="GM" type="hook">
<ishook>yes</ishook>
<description>
Called once when the player is authenticated.
<bug issue="3026"><page>Global.CurTime</page> returns 0 in this hook.</bug>
</description>
<realm>Server</realm>
<predicted>No</predicted>
<args>
<arg name="ply" type="Player">The player</arg>
<arg name="steamid" type="string">The player's SteamID</arg>
<arg name="uniqueid" type="string">The player's UniqueID</arg>
<arg name="steamid" type="string">The player's SteamID</arg>
<arg name="uniqueid" type="string">The player's UniqueID</arg>
</args>
</function>
<example>
<code>
function GM:PlayerAuthed( ply, steamid, uniqueid )
print( ply:Name() .. " has been authenticated as " .. steamid .. "." )
end
</code>
<outputfixedwidth>Fixed width</outputfixedwidth>
<output>Player1 has been authenticated as STEAM_0:1:12345678.</output>
</example>