diff --git a/saco/game/task.cpp b/saco/game/task.cpp index c0a6c3c..3872eec 100644 --- a/saco/game/task.cpp +++ b/saco/game/task.cpp @@ -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 + } +} + +//----------------------------------------------------------- + diff --git a/saco/game/task.h b/saco/game/task.h index 8017cbd..45bc21c 100644 --- a/saco/game/task.h +++ b/saco/game/task.h @@ -55,3 +55,10 @@ public: CTaskGoggles(); }; +class CTaskGoToPoint : + public CTask +{ +public: + CTaskGoToPoint(int unk, VECTOR* vecPos, float unk2, int unk3, int unk4 ); +}; +