mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-07-18 17:38:12 +08:00
[saco] Implement/match CActorPed::GetArmour()
This commit is contained in:
@ -86,3 +86,11 @@ void CActorPed::SetHealth(float fHealth)
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
float CActorPed::GetArmour()
|
||||
{
|
||||
if(!m_pPed) return 0.0f;
|
||||
return m_pPed->fArmour;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
|
@ -14,6 +14,7 @@ public:
|
||||
void Destroy();
|
||||
|
||||
float GetHealth();
|
||||
float GetArmour();
|
||||
|
||||
PED_TYPE *m_pPed;
|
||||
DWORD m_dwMarkerID;
|
||||
|
Reference in New Issue
Block a user