From Garry's Mod
Revision as of 20:27, 10 August 2018 by Code gs
Called once when the player is authenticated.
CurTime returns 0 in this hook.
Issue Tracker: #3026
The player's SteamID
The player's UniqueID
function GM:PlayerAuthed( ply, steamid, uniqueid ) print( ply:Name() .. " has been authenticated as " .. steamid .. "." ) end
If a person with the name "Garry :D" and SteamID "STEAM_0:1:12345678" joins the game, once authenticated, console will print out "Garry :D has been authenticated as STEAM_0:1:12345678."