[saco] Implement CTaskKillPedOnFootArmed constructor

This commit is contained in:
RD42 2024-05-02 21:51:45 +08:00
parent c70e9f59c8
commit 4a6bdad74a
2 changed files with 27 additions and 0 deletions

View File

@ -376,3 +376,24 @@ CTaskGoToPoint::CTaskGoToPoint(int unk, VECTOR* vecPos, float unk2, int unk3, in
//-----------------------------------------------------------
CTaskKillPedOnFootArmed::CTaskKillPedOnFootArmed( int unk, int unk2, int unk3, int unk4, PED_TYPE* pToShoot )
{
m_pPlayerPed = NULL;
Create(92);
BYTE* pTaskType = m_pTaskType;
__asm
{
PUSH unk
PUSH unk3
PUSH unk2
PUSH unk4
push pToShoot
mov ecx, pTaskType
mov eax, 0x00621190
call eax
}
}
//==========================================================

View File

@ -62,3 +62,9 @@ public:
CTaskGoToPoint(int unk, VECTOR* vecPos, float unk2, int unk3, int unk4 );
};
class CTaskKillPedOnFootArmed :
public CTask
{
public:
CTaskKillPedOnFootArmed( int unk, int unk2, int unk3, int unk4, PED_TYPE* pToShoot );
};