Garry's Mod Wiki

GM:ClientSignOnStateChanged

GM:ClientSignOnStateChanged( number userID, number oldState, number newState )

Just Added

This was just added in the latest version (2021.03.31). It might only be available on the Dev Branch right now.

Description

Called when a player's sign on state changes.

You cannot get a valid player object from the userID at any point during this hook.

Issue Tracker: 4899

Arguments

1 number userID
The userID of the player whose sign on state has changed.
2 number oldState
The previous sign on state. See SIGNONSTATE enums.
3 number newState
The new/current sign on state. See SIGNONSTATE enums.

Page Links


Special Pages


Wikis

?

Render Time: 70ms

DB GetPage 47
Generate Html 6
SaveChanges (1) 8
Render Body 0
Render Sidebar 6