diff --git a/saco/game/playerped.cpp b/saco/game/playerped.cpp index a082acd..dc7bf95 100644 --- a/saco/game/playerped.cpp +++ b/saco/game/playerped.cpp @@ -1200,6 +1200,14 @@ void CPlayerPed::StopDancing() //----------------------------------------------------------- +BOOL CPlayerPed::IsDancing() +{ + if(m_iDanceState) return TRUE; + return FALSE; +} + +//----------------------------------------------------------- + void CPlayerPed::ProcessVehicleHorn() { if(!m_pPed) return; diff --git a/saco/game/playerped.h b/saco/game/playerped.h index c9ffc54..0231639 100644 --- a/saco/game/playerped.h +++ b/saco/game/playerped.h @@ -103,6 +103,7 @@ public: void StartDancing(int iStyle); void StopDancing(); + BOOL IsDancing(); void HandsUp(); BOOL HasHandsUp(); void HoldItem(int iObject);