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
@ -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;
|
||||
|
@ -55,6 +55,8 @@ public:
|
||||
|
||||
BOOL IsAPassenger();
|
||||
|
||||
VEHICLE_TYPE * GetGtaVehicle();
|
||||
|
||||
void StartJetpack();
|
||||
void StopJetpack();
|
||||
BOOL IsInJetpackMode();
|
||||
|
Loading…
x
Reference in New Issue
Block a user