[saco] Implement/match CActorPed::SetTargetRotation(...)

This commit is contained in:
RD42 2024-10-25 23:44:31 +08:00
parent a196f13ff5
commit 61497a1372
2 changed files with 9 additions and 0 deletions

View File

@ -89,6 +89,14 @@ void CActorPed::ClearAnimations()
//----------------------------------------------------------- //-----------------------------------------------------------
void CActorPed::SetTargetRotation(float fRotation)
{
if(!m_pPed) return;
if(!GamePool_Ped_GetAt(m_dwGTAId)) return;
m_pPed->fRotation2 = DegToRad(fRotation);
}
//----------------------------------------------------------- //-----------------------------------------------------------
float CActorPed::GetHealth() float CActorPed::GetHealth()

View File

@ -13,6 +13,7 @@ public:
void Destroy(); void Destroy();
void SetTargetRotation(float fRotation);
float GetHealth(); float GetHealth();
float GetArmour(); float GetArmour();
void SetArmour(float fArmour); void SetArmour(float fArmour);