[saco] Implement CTaskGoToPoint constructor

This commit is contained in:
RD42 2024-05-02 21:50:59 +08:00
parent 4c400c51ed
commit c70e9f59c8
2 changed files with 28 additions and 0 deletions

View File

@ -355,3 +355,24 @@ CTaskGoggles::CTaskGoggles()
//----------------------------------------------------------- //-----------------------------------------------------------
CTaskGoToPoint::CTaskGoToPoint(int unk, VECTOR* vecPos, float unk2, int unk3, int unk4 )
{
m_pPlayerPed = NULL;
Create(48);
BYTE* pTaskType = m_pTaskType;
__asm
{
push unk4
push unk3
push unk2
push vecPos
push unk
mov ecx, pTaskType
mov eax, 0x667CD0
call eax
}
}
//-----------------------------------------------------------

View File

@ -55,3 +55,10 @@ public:
CTaskGoggles(); CTaskGoggles();
}; };
class CTaskGoToPoint :
public CTask
{
public:
CTaskGoToPoint(int unk, VECTOR* vecPos, float unk2, int unk3, int unk4 );
};