mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-04 00:23:22 +08:00
[saco] Implement/match CPlayerPed::GetGtaContactVehicle()
This commit is contained in:
parent
0fba86e33f
commit
b2d28335a3
@ -921,3 +921,10 @@ ENTITY_TYPE* CPlayerPed::GetGtaContactEntity()
|
|||||||
|
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
VEHICLE_TYPE* CPlayerPed::GetGtaContactVehicle()
|
||||||
|
{
|
||||||
|
return (VEHICLE_TYPE*)m_pPed->pContactVehicle;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
@ -68,6 +68,7 @@ public:
|
|||||||
BOOL IsAPassenger();
|
BOOL IsAPassenger();
|
||||||
|
|
||||||
VEHICLE_TYPE * GetGtaVehicle();
|
VEHICLE_TYPE * GetGtaVehicle();
|
||||||
|
VEHICLE_TYPE * GetGtaContactVehicle();
|
||||||
ENTITY_TYPE * GetGtaContactEntity();
|
ENTITY_TYPE * GetGtaContactEntity();
|
||||||
|
|
||||||
float GetDistanceFromVehicle(CVehicle *pVehicle);
|
float GetDistanceFromVehicle(CVehicle *pVehicle);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user