mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-04 00:23:22 +08:00
[saco] Implement/match CActorPed::SetArmour(...)
This commit is contained in:
parent
c923d8cfc4
commit
95de44a434
@ -94,3 +94,11 @@ float CActorPed::GetArmour()
|
|||||||
|
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
void CActorPed::SetArmour(float fArmour)
|
||||||
|
{
|
||||||
|
if(!m_pPed) return;
|
||||||
|
m_pPed->fArmour = fArmour;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@ public:
|
|||||||
|
|
||||||
float GetHealth();
|
float GetHealth();
|
||||||
float GetArmour();
|
float GetArmour();
|
||||||
|
void SetArmour(float fArmour);
|
||||||
|
|
||||||
PED_TYPE *m_pPed;
|
PED_TYPE *m_pPed;
|
||||||
DWORD m_dwMarkerID;
|
DWORD m_dwMarkerID;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user