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:
TheGreenBandit
2023-03-13 17:10:21 -04:00
committed by GitHub
parent cb23e221b6
commit d87caaa6d7
31 changed files with 377 additions and 160 deletions

View File

@ -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();