mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement and match CPlayerPed::GetStateFlags()
This commit is contained in:
parent
525700b01e
commit
24b2cc72c1
@ -203,6 +203,14 @@ void CPlayerPed::SetArmour(float fArmour)
|
||||
m_pPed->fArmour = fArmour;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
DWORD CPlayerPed::GetStateFlags()
|
||||
{
|
||||
if(!m_pPed) return 0;
|
||||
return m_pPed->dwStateFlags;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CPlayerPed::GiveWeapon(int iWeaponID, int iAmmo)
|
||||
|
@ -32,6 +32,7 @@ public:
|
||||
void SetHealth(float fHealth);
|
||||
float GetArmour();
|
||||
void SetArmour(float fArmour);
|
||||
DWORD GetStateFlags();
|
||||
|
||||
WORD GetAmmo();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user