mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[saco] Implement CTaskGoToPoint constructor
This commit is contained in:
parent
4c400c51ed
commit
c70e9f59c8
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
@ -55,3 +55,10 @@ public:
|
|||||||
CTaskGoggles();
|
CTaskGoggles();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class CTaskGoToPoint :
|
||||||
|
public CTask
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
CTaskGoToPoint(int unk, VECTOR* vecPos, float unk2, int unk3, int unk4 );
|
||||||
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user