mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-11 01:38:17 +08:00
[saco] Implement and match CPlayerPed::SetArmour(...)
This commit is contained in:
1 parent
895adbad7e
commit
525700b01e
2 files changed
+9
No files matched your search
@@ -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)
|
||||
|
||||
@@ -31,6 +31,7 @@ public:
|
||||
float GetHealth();
|
||||
void SetHealth(float fHealth);
|
||||
float GetArmour();
|
||||
void SetArmour(float fArmour);
|
||||
|
||||
WORD GetAmmo();
|
||||
|
||||
|
||||
Reference in new issue
Block a user