mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement/match CActorPed::SetTargetRotation(...)
This commit is contained in:
parent
a196f13ff5
commit
61497a1372
@ -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()
|
||||
|
@ -13,6 +13,7 @@ public:
|
||||
|
||||
void Destroy();
|
||||
|
||||
void SetTargetRotation(float fRotation);
|
||||
float GetHealth();
|
||||
float GetArmour();
|
||||
void SetArmour(float fArmour);
|
||||
|
Loading…
Reference in New Issue
Block a user