mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +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();
|
||||
|
||||
VEHICLE_TYPE * GetGtaVehicle();
|
||||
VEHICLE_TYPE * GetGtaContactVehicle();
|
||||
ENTITY_TYPE * GetGtaContactEntity();
|
||||
|
||||
float GetDistanceFromVehicle(CVehicle *pVehicle);
|
||||
|
Loading…
Reference in New Issue
Block a user