Skip to content

Commit efb05d4

Browse files
committed
Fix entering into vehicle on Windows SA-MP 0.3-DL
Fix exiting from vehicle on Windows SA-MP 0.3-DL and 0.3.7 R2
1 parent a08958a commit efb05d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/CAddress.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void CAddress::Initialize(eSAMPVersion sampVersion)
5959
FUNC_CPlayerPool__DeletePlayer = 0x466570;
6060
FUNC_CPlayer__Kill = 0x484620;
6161
FUNC_CPlayer__EnterVehicle = 0x484c70;
62-
FUNC_CPlayer__ExitVehicle = 0x484f50;
62+
FUNC_CPlayer__ExitVehicle = 0x484d90;
6363
FUNC_CPlayer__SpawnForWorld = 0x486d30;
6464
FUNC_GetVehicleModelInfo = 0x488240;
6565
FUNC_CConsole__GetIntVariable = 0x48b5b0;
@@ -85,7 +85,7 @@ void CAddress::Initialize(eSAMPVersion sampVersion)
8585
FUNC_CPlayerPool__DeletePlayer = 0x466570;
8686
FUNC_CPlayer__Kill = 0x484620;
8787
FUNC_CPlayer__EnterVehicle = 0x484c70;
88-
FUNC_CPlayer__ExitVehicle = 0x484f50;
88+
FUNC_CPlayer__ExitVehicle = 0x484d90;
8989
FUNC_CPlayer__SpawnForWorld = 0x486d30;
9090
FUNC_GetVehicleModelInfo = 0x488240;
9191
FUNC_CConsole__GetIntVariable = 0x48b5b0;
@@ -110,8 +110,8 @@ void CAddress::Initialize(eSAMPVersion sampVersion)
110110
case SAMP_VERSION_03DL_R1:
111111
FUNC_CPlayerPool__DeletePlayer = 0x466550;
112112
FUNC_CPlayer__Kill = 0x485020;
113-
FUNC_CPlayer__EnterVehicle = 0x485672;
114-
FUNC_CPlayer__ExitVehicle = 0x485952;
113+
FUNC_CPlayer__EnterVehicle = 0x485670;
114+
FUNC_CPlayer__ExitVehicle = 0x485790;
115115
FUNC_CPlayer__SpawnForWorld = 0x487730;
116116
FUNC_GetVehicleModelInfo = 0x4892a0;
117117
FUNC_CConsole__GetIntVariable = 0x490c80;

0 commit comments

Comments
 (0)