[saco] Implement/match CActorPed::GetArmour()

This commit is contained in:
RD42
2024-10-24 22:29:46 +08:00
parent bde196c8f8
commit c923d8cfc4
2 changed files with 9 additions and 0 deletions

View File

@ -86,3 +86,11 @@ void CActorPed::SetHealth(float fHealth)
//-----------------------------------------------------------
float CActorPed::GetArmour()
{
if(!m_pPed) return 0.0f;
return m_pPed->fArmour;
}
//-----------------------------------------------------------

View File

@ -14,6 +14,7 @@ public:
void Destroy();
float GetHealth();
float GetArmour();
PED_TYPE *m_pPed;
DWORD m_dwMarkerID;