mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement/match CActorPed::ClearAnimations()
This commit is contained in:
parent
8ad4f28567
commit
a196f13ff5
@ -79,6 +79,16 @@ BOOL __declspec(naked) FlushPedIntelligence()
|
||||
_asm ret
|
||||
}
|
||||
|
||||
void CActorPed::ClearAnimations()
|
||||
{
|
||||
dwActorPed = (DWORD)m_pPed;
|
||||
if(dwActorPed) {
|
||||
FlushPedIntelligence();
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
float CActorPed::GetHealth()
|
||||
|
@ -17,6 +17,9 @@ public:
|
||||
float GetArmour();
|
||||
void SetArmour(float fArmour);
|
||||
|
||||
void ClearAnimations();
|
||||
|
||||
|
||||
PED_TYPE *m_pPed;
|
||||
DWORD m_dwMarkerID;
|
||||
DWORD m_dwArrow;
|
||||
|
Loading…
Reference in New Issue
Block a user