mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[saco] Implement/match CPlayerPed::GetGtaVehicle()
This commit is contained in:
parent
ee4a0b40a7
commit
d4ea1ee91e
@ -304,6 +304,13 @@ BOOL CPlayerPed::IsAPassenger()
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
VEHICLE_TYPE * CPlayerPed::GetGtaVehicle()
|
||||||
|
{
|
||||||
|
return (VEHICLE_TYPE *)m_pPed->pVehicle;
|
||||||
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
void CPlayerPed::GiveWeapon(int iWeaponID, int iAmmo)
|
void CPlayerPed::GiveWeapon(int iWeaponID, int iAmmo)
|
||||||
|
@ -55,6 +55,8 @@ public:
|
|||||||
|
|
||||||
BOOL IsAPassenger();
|
BOOL IsAPassenger();
|
||||||
|
|
||||||
|
VEHICLE_TYPE * GetGtaVehicle();
|
||||||
|
|
||||||
void StartJetpack();
|
void StartJetpack();
|
||||||
void StopJetpack();
|
void StopJetpack();
|
||||||
BOOL IsInJetpackMode();
|
BOOL IsInJetpackMode();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user