source-sdk-2013
source-sdk-2013 copied to clipboard
[HL2MP] Immediately spawn from spectator
Issue: When switching to any team from spectators, the player doesn't spawn immediately and is required to push a button to spawn.
Fix:
Detect with a boolean (bWasSpectator) that the player was a spectator and immediately spawn the player on team change.