[saco] Implement/match CPlayerPed::IsDancing()

This commit is contained in:
RD42 2024-10-31 19:20:37 +08:00
parent 0de166559e
commit 5aa26948af
2 changed files with 9 additions and 0 deletions

View File

@ -1200,6 +1200,14 @@ void CPlayerPed::StopDancing()
//----------------------------------------------------------- //-----------------------------------------------------------
BOOL CPlayerPed::IsDancing()
{
if(m_iDanceState) return TRUE;
return FALSE;
}
//-----------------------------------------------------------
void CPlayerPed::ProcessVehicleHorn() void CPlayerPed::ProcessVehicleHorn()
{ {
if(!m_pPed) return; if(!m_pPed) return;

View File

@ -103,6 +103,7 @@ public:
void StartDancing(int iStyle); void StartDancing(int iStyle);
void StopDancing(); void StopDancing();
BOOL IsDancing();
void HandsUp(); void HandsUp();
BOOL HasHandsUp(); BOOL HasHandsUp();
void HoldItem(int iObject); void HoldItem(int iObject);