mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[saco] Implement and match CPlayerPed::SetStateFlags(...)
This commit is contained in:
parent
24b2cc72c1
commit
c5eb9a8421
@ -211,6 +211,14 @@ DWORD CPlayerPed::GetStateFlags()
|
||||
return m_pPed->dwStateFlags;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CPlayerPed::SetStateFlags(DWORD dwState)
|
||||
{
|
||||
if(!m_pPed) return;
|
||||
m_pPed->dwStateFlags = dwState;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CPlayerPed::GiveWeapon(int iWeaponID, int iAmmo)
|
||||
|
@ -33,6 +33,7 @@ public:
|
||||
float GetArmour();
|
||||
void SetArmour(float fArmour);
|
||||
DWORD GetStateFlags();
|
||||
void SetStateFlags(DWORD dwStateFlags);
|
||||
|
||||
WORD GetAmmo();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user