Several feature additions (#889)
* Added Infinite Range * Added Fill Ammo * Added Aim Assist * Added Hud Color Options * Added Clear Wanted Level * Added Health Regen * curly brackets in invisibility * Added hotkeys * Improved Increased Damage
This commit is contained in:
@ -68,12 +68,28 @@ namespace big
|
||||
|
||||
ImGui::SameLine();
|
||||
|
||||
components::button("SAVE_VEHICLE"_T, [] {
|
||||
save_vehicle(vehicle_file_name_input);
|
||||
components::button("SAVE_VEHICLE"_T, []
|
||||
{
|
||||
if (PED::GET_VEHICLE_PED_IS_IN(self::ped, false) == 0)
|
||||
{
|
||||
g_notification_service->push_warning("PERSIST_CAR"_T.data(), "You must be in a vehicle. Please enter a vehicle before using load.");
|
||||
}
|
||||
else
|
||||
{
|
||||
save_vehicle(vehicle_file_name_input);
|
||||
}
|
||||
});
|
||||
|
||||
components::button("LOAD_VEHICLE"_T, [] {
|
||||
load_vehicle(selected_vehicle_file);
|
||||
components::button("LOAD_VEHICLE"_T, []
|
||||
{
|
||||
if (PED::GET_VEHICLE_PED_IS_IN(self::ped, false) != 0)
|
||||
{
|
||||
g_notification_service->push_warning("PERSIST_CAR"_T.data(), "You must not be in a vehicle. Please exit your vehicle before using load.");
|
||||
}
|
||||
else
|
||||
{
|
||||
load_vehicle(selected_vehicle_file);
|
||||
}
|
||||
});
|
||||
|
||||
ImGui::EndGroup();
|
||||
|
Reference in New Issue
Block a user