mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-11-27 08:20:35 +00:00
[saco] Implement/match CActorPed::SetActionTrigger(...)
This commit is contained in:
parent
dc5b5ec1c0
commit
f6d232a45c
@ -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);
|
||||
BOOL IsDead();
|
||||
BYTE GetActionTrigger();
|
||||
void SetActionTrigger(BYTE byteTrigger);
|
||||
|
||||
void ApplyAnimation(char *szAnimName, char *szAnimFile, float fT,
|
||||
int opt1, int opt2, int opt3, int opt4, int iUnk);
|
||||
|
Loading…
Reference in New Issue
Block a user