S2S Fun: Full Teleport
Code:
LTVector vPos;
////////////////////////////////////////////////////////
LTVector vPitchYawRoll(m_fPlayerPitch, m_fPlayerYaw, m_fPlayerRoll); // the 3 objects in the () are part of the PlayerMGR
CAutoMessage cMsg;
cMsg.Writeuint8(MID_PLAYER_TELEPORT); // good luck finding the id ;) the hint is it is 1-255
cMsg.WriteLTVector(vPos);
cMsg.WriteLTRotation(m_pPlayerCamera->GetCameraRotation( )); // good luck with the camera :)
g_pLTClient->SendToServer(cMsg.Read(), MESSAGE_GUARANTEED);
this is noob proof, or i'd post the ID. Those of u who actually can reverse will get this working
121?
