[saco] Implement/match CPlayerPed::GetGtaVehicle()

This commit is contained in:
RD42 2024-08-11 23:44:07 +08:00
parent ee4a0b40a7
commit d4ea1ee91e
2 changed files with 9 additions and 0 deletions

View File

@ -306,6 +306,13 @@ BOOL CPlayerPed::IsAPassenger()
//-----------------------------------------------------------
VEHICLE_TYPE * CPlayerPed::GetGtaVehicle()
{
return (VEHICLE_TYPE *)m_pPed->pVehicle;
}
//-----------------------------------------------------------
void CPlayerPed::GiveWeapon(int iWeaponID, int iAmmo)
{
if(!m_pPed) return;

View File

@ -55,6 +55,8 @@ public:
BOOL IsAPassenger();
VEHICLE_TYPE * GetGtaVehicle();
void StartJetpack();
void StopJetpack();
BOOL IsInJetpackMode();