mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[saco] Implement/match CActorPed::SetStateFlags(...)
This commit is contained in:
parent
6de35774d9
commit
6a3f528e9f
@ -169,3 +169,11 @@ DWORD CActorPed::GetStateFlags()
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CActorPed::SetStateFlags(DWORD dwState)
|
||||
{
|
||||
if(!m_pPed) return;
|
||||
m_pPed->dwStateFlags = dwState;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
|
@ -19,6 +19,7 @@ public:
|
||||
float GetArmour();
|
||||
void SetArmour(float fArmour);
|
||||
DWORD GetStateFlags();
|
||||
void SetStateFlags(DWORD dwStateFlags);
|
||||
|
||||
void ApplyAnimation(char *szAnimName, char *szAnimFile, float fT,
|
||||
int opt1, int opt2, int opt3, int opt4, int iUnk);
|
||||
|
Loading…
x
Reference in New Issue
Block a user