mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-05 17:13:27 +08:00
[saco] Implement/match CPlayerPed::GetGtaVehicle()
This commit is contained in:
parent
ee4a0b40a7
commit
d4ea1ee91e
@ -306,6 +306,13 @@ BOOL CPlayerPed::IsAPassenger()
|
|||||||
|
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
VEHICLE_TYPE * CPlayerPed::GetGtaVehicle()
|
||||||
|
{
|
||||||
|
return (VEHICLE_TYPE *)m_pPed->pVehicle;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
void CPlayerPed::GiveWeapon(int iWeaponID, int iAmmo)
|
void CPlayerPed::GiveWeapon(int iWeaponID, int iAmmo)
|
||||||
{
|
{
|
||||||
if(!m_pPed) return;
|
if(!m_pPed) return;
|
||||||
|
@ -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