Garry's Mod Wiki

GM:ClientSignOnStateChanged

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

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.