[saco] Implement and match CPlayerPed::GetStateFlags()

This commit is contained in:
RD42 2024-05-05 22:12:31 +08:00
parent 525700b01e
commit 24b2cc72c1
2 changed files with 9 additions and 0 deletions

View File

@ -203,6 +203,14 @@ void CPlayerPed::SetArmour(float fArmour)
m_pPed->fArmour = fArmour;
}
//-----------------------------------------------------------
DWORD CPlayerPed::GetStateFlags()
{
if(!m_pPed) return 0;
return m_pPed->dwStateFlags;
}
//-----------------------------------------------------------
void CPlayerPed::GiveWeapon(int iWeaponID, int iAmmo)

View File

@ -32,6 +32,7 @@ public:
void SetHealth(float fHealth);
float GetArmour();
void SetArmour(float fArmour);
DWORD GetStateFlags();
WORD GetAmmo();