Garry's Mod Wiki

GM:PlayerAuthed

GM:PlayerAuthed( Player ply, string steamid, string uniqueid )

Description

Called once when the player is authenticated.

CurTime returns 0 in this hook.

Issue Tracker: 3026

Arguments

1 Player ply
The player
2 string steamid
The player's SteamID
3 string uniqueid
The player's UniqueID

Example

hook.Add( "PlayerAuthed", "JoinNotification", function( ply, steamid, uniqueid ) print( ply:Name() .. " has been authenticated as " .. steamid .. "." ) end )
Output: Player1 has been authenticated as STEAM_0:1:12345678.

Page Links


Special Pages


Wikis

?

Render Time: 38ms

DB GetPage 7
Generate Html 8
SaveChanges (1) 12
Render Body 0
Render Sidebar 9