diff --git a/saco/net/remoteplayer.cpp b/saco/net/remoteplayer.cpp index f431614..42f8375 100644 --- a/saco/net/remoteplayer.cpp +++ b/saco/net/remoteplayer.cpp @@ -404,6 +404,25 @@ void CRemotePlayer::FUNC_10017260(BYTE *pSync, int iTime) //---------------------------------------------------- +void CRemotePlayer::FUNC_10017440(BYTE *pSync) +{ + memcpy(field_AD, pSync, sizeof(field_AD)); + field_1E7 = *(WORD *)pSync; + field_10B = pSync[2] & 0x3F; + field_1E1 = (CVehicle *)pNetGame->GetVehiclePool()->GetAt(field_1E7); + field_1B0 = pSync[4]; + field_1AC = pSync[5]; + field_1B8 = 18; + field_1B9 = GetTickCount(); + field_C = 0; + + if(m_pPlayerPed && !m_pPlayerPed->IsInVehicle()) FUNC_10014800(); + + if(field_10A != 18) field_10A = 18; +} + +//---------------------------------------------------- + void CRemotePlayer::FUNC_100148F0() { if(m_pPlayerPed && m_pPlayerPed->IsInVehicle()) { diff --git a/saco/net/remoteplayer.h b/saco/net/remoteplayer.h index d3c766f..397b33e 100644 --- a/saco/net/remoteplayer.h +++ b/saco/net/remoteplayer.h @@ -86,6 +86,7 @@ public: void FUNC_100148F0(); // .text:100148F0 void FUNC_10014FF0(); // .text:10014FF0 void FUNC_10017260(BYTE *pSync, int iTime); // .text:10017260 + void FUNC_10017440(BYTE *pSync); // .text:10017440 void FUNC_10014800(); // .text:10014800 void FUNC_10017610(char *szText); // .text:10017610 void FUNC_100150D0(VECTOR *pPos, VECTOR *pMoveSpeed); // .text:100150D0