[saco] Implement/match CActorPed::GetStateFlags()

This commit is contained in:
RD42 2024-10-30 18:08:31 +08:00
parent 014b86266b
commit 6de35774d9
2 changed files with 9 additions and 0 deletions

View File

@ -161,3 +161,11 @@ void CActorPed::SetArmour(float fArmour)
//-----------------------------------------------------------
DWORD CActorPed::GetStateFlags()
{
if(!m_pPed) return 0;
return m_pPed->dwStateFlags;
}
//-----------------------------------------------------------

View File

@ -18,6 +18,7 @@ public:
void SetHealth(float fHealth);
float GetArmour();
void SetArmour(float fArmour);
DWORD GetStateFlags();
void ApplyAnimation(char *szAnimName, char *szAnimFile, float fT,
int opt1, int opt2, int opt3, int opt4, int iUnk);