CVector GetBlipVector() {
CVector marker;
for (int i = 0; i < (0xAF * 0x28); i += 0x28) {
if (*reinterpret_cast<short*>(0xBA873D + i) == 4611) {
marker = *reinterpret_cast<CVector*>(0xBA86F8 + 0x28 + i);
reinterpret_cast<void(__cdecl*)(CVector*)>(0x40ED80)(&marker);
marker.fZ = GAME->GetWorld()->FindGroundZForPosition(marker.fX, marker.fY);
}
}
return marker;
}
CVector GetCheckpointVector() {
CVector pos;
DWORD mark = GAME->GetCheckpoints()->FindFreeMarker()->GetIdentifier();
bool active = GAME->GetCheckpoints()->GetCheckpoint(mark)->IsActive();
if (active)
pos =...