[saco] Implement/match CActorPed::SetArmour(...)

This commit is contained in:
RD42 2024-10-24 22:30:11 +08:00
parent c923d8cfc4
commit 95de44a434
2 changed files with 9 additions and 0 deletions

View File

@ -94,3 +94,11 @@ float CActorPed::GetArmour()
//-----------------------------------------------------------
void CActorPed::SetArmour(float fArmour)
{
if(!m_pPed) return;
m_pPed->fArmour = fArmour;
}
//-----------------------------------------------------------

View File

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