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.

Arguments

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

Example

function GM:PlayerAuthed( 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: 32ms

Session 0
DB GetPage 3
Generate Html 7
SaveChanges 8
Render Body 0
Render Sidebar 11