HolyLib Wiki

SetSignonState

  boolean CBaseClient:SetSignonState( number signOnState, number spawnCount, boolean rawSet = false )

Description

Sets the SignOnState for the given client.

This function does normally not directly set the SignOnState.
Instead it calls the responsible function for the given SignOnState like for SIGNONSTATE_PRESPAWN it will call SpawnPlayer on the client.
Set the rawSet to true if you want to directly set the SignOnState.

Arguments

1number signOnState
2number spawnCount
3boolean rawSet = false

Returns

1boolean success
returns true on success