mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-19 20:26:14 +08:00
[saco] Implement/match CActorPed::SetActionTrigger(...)
This commit is contained in:
@ -193,3 +193,12 @@ BYTE CActorPed::GetActionTrigger()
|
|||||||
|
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
void CActorPed::SetActionTrigger(BYTE byteTrigger)
|
||||||
|
{
|
||||||
|
if(!m_pPed) return;
|
||||||
|
|
||||||
|
m_pPed->dwAction = byteTrigger;
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@ public:
|
|||||||
void SetStateFlags(DWORD dwStateFlags);
|
void SetStateFlags(DWORD dwStateFlags);
|
||||||
BOOL IsDead();
|
BOOL IsDead();
|
||||||
BYTE GetActionTrigger();
|
BYTE GetActionTrigger();
|
||||||
|
void SetActionTrigger(BYTE byteTrigger);
|
||||||
|
|
||||||
void ApplyAnimation(char *szAnimName, char *szAnimFile, float fT,
|
void ApplyAnimation(char *szAnimName, char *szAnimFile, float fT,
|
||||||
int opt1, int opt2, int opt3, int opt4, int iUnk);
|
int opt1, int opt2, int opt3, int opt4, int iUnk);
|
||||||
|
Reference in New Issue
Block a user