mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement CTaskKillPedOnFootArmed constructor
This commit is contained in:
parent
c70e9f59c8
commit
4a6bdad74a
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
//==========================================================
|
||||
|
||||
|
@ -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 );
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user