mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +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 GetArmour();
|
||||
void SetArmour(float fArmour);
|
||||
|
||||
PED_TYPE *m_pPed;
|
||||
DWORD m_dwMarkerID;
|
||||
|
Loading…
Reference in New Issue
Block a user