[saco] Implement and match CPlayerPed::SetArmour(...)

This commit is contained in:
RD42 committed 2024-05-05 22:11:39 +08:00
1 parent 895adbad7e
commit 525700b01e
2 files changed
+9

No files matched your search

+8
View File
@@ -195,6 +195,14 @@ float CPlayerPed::GetArmour()
return m_pPed->fArmour;
}
//-----------------------------------------------------------
void CPlayerPed::SetArmour(float fArmour)
{
if(!m_pPed) return;
m_pPed->fArmour = fArmour;
}
//-----------------------------------------------------------
void CPlayerPed::GiveWeapon(int iWeaponID, int iAmmo)
+1
View File
@@ -31,6 +31,7 @@ public:
float GetHealth();
void SetHealth(float fHealth);
float GetArmour();
void SetArmour(float fArmour);
WORD GetAmmo();