Garry's Mod Wiki

Revision Difference

GM:ClientSignOnStateChanged#529510

<function name="ClientSignOnStateChanged" parent="GM" type="hook">⤶ <ishook>yes</ishook>⤶ <description>Called when a player's sign on state changes.</description>⤶ <realm>Shared</realm>⤶ <predicted>No</predicted>⤶ <added>2021.03.31</added>⤶ <args>⤶ <arg name="userID" type="number">The userID of the player whose sign on state has changed.</arg>⤶ <arg name="oldState" type="number">The previous sign on state. See <page text="SIGNONSTATE">Enums/SIGNONSTATE</page> enums.</arg>⤶ <arg name="newState" type="number">The new/current sign on state. See <page text="SIGNONSTATE">Enums/SIGNONSTATE</page> enums.</arg>⤶ </args>⤶ </function>⤶