mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement/match CActorPed::GetStateFlags()
This commit is contained in:
parent
014b86266b
commit
6de35774d9
@ -161,3 +161,11 @@ void CActorPed::SetArmour(float fArmour)
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
DWORD CActorPed::GetStateFlags()
|
||||
{
|
||||
if(!m_pPed) return 0;
|
||||
return m_pPed->dwStateFlags;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user