Garry's Mod Wiki

Revision Difference

GM:NetworkIDValidated#562441

<function name="NetworkIDValidated" parent="GM" type="hook"> <description> Called when a player's SteamID has been validated by Steam. See also <page>GM:PlayerAuthed</page>. <note>This hook doesn't work intentionally in singleplayer [because the SteamID is not validated](https://github.com/Facepunch/garrysmod-issues/issues/4906#issuecomment-819337130).</note> <note>This hook doesn't work intentionally in singleplayer [because the SteamID is not validated](https://github.com/Facepunch/garrysmod-issues/issues/4906#issuecomment-819337130) in that case. This may also apply to `sv_lan 1` servers.</note> </description> <realm>Server</realm> <args> <arg name="name" type="string">Player name</arg> <arg name="steamID" type="string">Player SteamID</arg> </args> </function>