Garry's Mod Wiki

Garry's Mod Wiki

  GM:NetworkIDValidated( string name, string steamID, string ownerID )

Description

Called when a player's SteamID has been validated by Steam.

See also GM:PlayerAuthed and Player:IsFullyAuthenticated.

This hook doesn't work intentionally in singleplayer because the SteamID is not validated in that case. This also applies to sv_lan 1 servers for every duplicate -multirun client.

Arguments

1 string name
Player name
2 string steamID
Player SteamID
3 string ownerID
SteamID64 of the game license owner, in case Family Sharing is used. See also Player:OwnerSteamID64

Example

Simply prints out the values the hook receives.

hook.Add( "NetworkIDValidated", "NetworkIDValidatedTest", function( name, steamID ) print( "NetworkIDValidated", name, steamID ) end )

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...