GM/PlayerAuthed

From Garry's Mod
Revision as of 16:57, 22 May 2019 by Spar (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 GM:PlayerAuthed( )

Contents

Description

Called once when the player is authenticated.

BUG

CurTime returns 0 in this hook.

Issue Tracker: #3026

Arguments

Player ply

The player

Arguments

string steamid

The player's SteamID

Arguments

string uniqueid

The player's UniqueID

Examples

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.
Personal tools
Navigation