Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void CPlayerMgr::Teleport(const LTVector & vPos)
- {
- #ifndef _FINAL // Don't allow player teleporing in the final version...
- CAutoMessage cMsg;
- cMsg.Writeuint8(MID_PLAYER_TELEPORT);
- cMsg.WriteLTVector(vPos);
- cMsg.WriteLTRotation(m_pPlayerCamera->GetCameraRotation( ));
- g_pLTClient->SendToServer(cMsg.Read(), MESSAGE_GUARANTEED);
- #endif // _FINAL
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement