void CNetworkPlayer::SetRotation( CVector3 vecRotation ) { DEBUG_TRACE("CNetworkPlayer::SetRotation"); // Is the player ped valid? if( m_pPlayerPed && IsSpawned() ) { // Convert the rotation to radians vecRotation.ToRadians(); // Set the player rotation m_pPlayerPed->SetRotation( Quaternion( vecRotation ) ); } }