From 0d9aedf63131f389ac521a3e167ebc13febc2359 Mon Sep 17 00:00:00 2001 From: ricardoofnl Date: Sat, 5 Sep 2026 07:55:32 +0700 Subject: [PATCH] [saco] Implement/match `FUNC_100148F0`; it drops the ped where it stands and clears the cached vehicle --- saco/net/remoteplayer.cpp | 12 ++++++++++++ saco/net/remoteplayer.h | 1 + 2 files changed, 13 insertions(+) diff --git a/saco/net/remoteplayer.cpp b/saco/net/remoteplayer.cpp index 166ceb0..764bd8a 100644 --- a/saco/net/remoteplayer.cpp +++ b/saco/net/remoteplayer.cpp @@ -358,6 +358,18 @@ void CRemotePlayer::FUNC_10014800() //---------------------------------------------------- +void CRemotePlayer::FUNC_100148F0() +{ + if(m_pPlayerPed && m_pPlayerPed->IsInVehicle()) { + MATRIX4X4 mat; + m_pPlayerPed->GetMatrix(&mat); + m_pPlayerPed->RemoveFromVehicleAndPutAt(mat.pos.X, mat.pos.Y, mat.pos.Z); + field_1E1 = NULL; + } +} + +//---------------------------------------------------- + void CRemotePlayer::FUNC_10014500(int a1) { if(!a1) { diff --git a/saco/net/remoteplayer.h b/saco/net/remoteplayer.h index bf515b9..a5318ba 100644 --- a/saco/net/remoteplayer.h +++ b/saco/net/remoteplayer.h @@ -81,6 +81,7 @@ public: void FUNC_10014500(int a1); // .text:10014500 void FUNC_10014540(short a1, short a2, short a3); // .text:10014540 void FUNC_10014650(); // .text:10014650 + void FUNC_100148F0(); // .text:100148F0 void FUNC_10014800(); // .text:10014800 void FUNC_10017610(char *szText); // .text:10017610 void FUNC_100150D0(VECTOR *pPos, VECTOR *pMoveSpeed); // .text:100150D0