local hooks = require("hooks") -- https://www.blast.hk/threads/55743/
local originalCTaskComplexLeaveCar__CTaskComplexLeaveCar
function main()
originalCTaskComplexLeaveCar__CTaskComplexLeaveCar = hooks.jmp.new(
"void*(__thiscall*)(void*, uintptr_t, int, int, char, char)"
CTaskComplexLeaveCar__CTaskComplexLeaveCarHooked, 0x63B8C0
)
end
function CTaskComplexLeaveCar__CTaskComplexLeaveCarHooked(this, pEntity, ...)
if pEntity == getCharPointer(PLAYER_PED) then
print("МЫ ВЫШЛИ ЕБАТЬ")
end
return originalCTaskComplexLeaveCar__CTaskComplexLeaveCar(this, pEntity, ...)
end