mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2024-12-22 20:17:24 +08:00
parent
9b6712cc7d
commit
a9ccde5ac1
@ -204,12 +204,12 @@ namespace big
|
||||
ENTITY::SET_ENTITY_COORDS(m_current_ent, location.x, location.y, location.z, 0, 0, 0, 0);
|
||||
}
|
||||
|
||||
if (m_heading += 0.5f; m_heading > 359)
|
||||
if (m_heading += 0.11111f; m_heading > 359)
|
||||
{
|
||||
m_heading = 0;
|
||||
}
|
||||
|
||||
script::get_current()->yield(15ms);
|
||||
script::get_current()->yield();
|
||||
}
|
||||
|
||||
entity::delete_entity(m_current_ent, true);
|
||||
|
@ -371,12 +371,12 @@ namespace big::vehicle
|
||||
}
|
||||
|
||||
VEHICLE::SET_VEHICLE_MOD_KIT(vehicle, 0);
|
||||
script::get_current()->yield(10ms);
|
||||
//script::get_current()->yield(10ms);
|
||||
|
||||
VEHICLE::SET_VEHICLE_NUMBER_PLATE_TEXT_INDEX(vehicle, owned_mods[MOD_PLATE_STYLE]);
|
||||
VEHICLE::SET_VEHICLE_WINDOW_TINT(vehicle, owned_mods[MOD_WINDOW_TINT]);
|
||||
VEHICLE::SET_VEHICLE_WHEEL_TYPE(vehicle, owned_mods[MOD_WHEEL_TYPE]);
|
||||
script::get_current()->yield(10ms);
|
||||
//script::get_current()->yield(10ms);
|
||||
|
||||
VEHICLE::SET_VEHICLE_COLOURS(vehicle, owned_mods[MOD_PRIMARY_COL], owned_mods[MOD_SECONDARY_COL]);
|
||||
VEHICLE::SET_VEHICLE_EXTRA_COLOURS(vehicle, owned_mods[MOD_PEARLESCENT_COL], owned_mods[MOD_WHEEL_COL]);
|
||||
|
@ -131,8 +131,8 @@ namespace big
|
||||
selected_vehicle_file = pair;
|
||||
g_fiber_pool->queue_job([] {
|
||||
load_vehicle(selected_vehicle_file);
|
||||
g_model_preview_service->stop_preview();
|
||||
});
|
||||
g_model_preview_service->stop_preview();
|
||||
}
|
||||
|
||||
if (!g.persist_car.preview_vehicle || (g.persist_car.preview_vehicle && !ImGui::IsAnyItemHovered()))
|
||||
|
Loading…
Reference in New Issue
Block a user