mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-11 17:58:16 +08:00
[saco] Implement CTaskGoToPoint constructor
This commit is contained in:
1 parent
4c400c51ed
commit
c70e9f59c8
2 files changed
+28
No files matched your search
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user