after messing around with the obs code it was found to be the off set of the player when they go into obs mode which was causing the spawning inside ground problem. so before spawning the player I had to set back
> Well I don't know if anything is wrong with that but here's how I do it: > > RemoveAllItems( true ); > > State_Transition( STATE_OBSERVER_MODE ); > > and to stop: > > StopObserverMode(); > State_Transition( STATE_ACTIVE ); > > this happens when the lives of the player run out, but since I dont want > to move them to team_spectator I just have the above, haven't > encountered any problems yet during playtests. > > > [email protected] wrote: >> this is how I am setting obs mode >> CBasePlayer::SetObserverMode(OBS_MODE_ROAMING); >> >> >> // here we reset obs mode >> CBasePlayer::StopObserverMode(); >> pPlayer->SetMoveType(MOVETYPE_WALK); >> >> when the player re spawns they are stuck in the ground half way and >> half >> to duck out. > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

