mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[saco] Implement/match CPlayerPed::StopDancing()
This commit is contained in:
parent
5ef37e76c2
commit
0de166559e
@ -1190,6 +1190,16 @@ void CPlayerPed::StartDancing(int iStyle)
|
|||||||
|
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
void CPlayerPed::StopDancing()
|
||||||
|
{
|
||||||
|
m_iDanceState = 0;
|
||||||
|
MATRIX4X4 mat;
|
||||||
|
GetMatrix(&mat);
|
||||||
|
TeleportTo(mat.pos.X,mat.pos.Y,mat.pos.Z);
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
void CPlayerPed::ProcessVehicleHorn()
|
void CPlayerPed::ProcessVehicleHorn()
|
||||||
{
|
{
|
||||||
if(!m_pPed) return;
|
if(!m_pPed) return;
|
||||||
|
@ -102,6 +102,7 @@ public:
|
|||||||
void ProcessVehicleHorn();
|
void ProcessVehicleHorn();
|
||||||
|
|
||||||
void StartDancing(int iStyle);
|
void StartDancing(int iStyle);
|
||||||
|
void StopDancing();
|
||||||
void HandsUp();
|
void HandsUp();
|
||||||
BOOL HasHandsUp();
|
BOOL HasHandsUp();
|
||||||
void HoldItem(int iObject);
|
void HoldItem(int iObject);
|
||||||
|
Loading…
Reference in New Issue
Block a user