Some fixes and requests (#1516)

* Removed Delete button and nearby.cpp

* Added player check for kill button

* Added delete vehicle button

* Fixed give armor & added vehicle god esp
This commit is contained in:
DayibBaba
2023-06-24 23:12:20 +02:00
committed by GitHub
parent 717468087c
commit 7b552f71aa
7 changed files with 151 additions and 154 deletions

View File

@ -15,6 +15,14 @@ namespace big
std::make_format_args(amount_fixed,
amount_fixed == 1 ? "VEHICLE_FIX_HAS"_T.data() : "VEHICLE_FIX_HAVE"_T.data())));
});
ImGui::SameLine();
components::button("Delete Current",[]{
auto handle = self::veh;
if(ENTITY::DOES_ENTITY_EXIST(handle))
TASK::CLEAR_PED_TASKS_IMMEDIATELY(self::ped), entity::delete_entity(handle);
});
ImGui::SameLine();
components::button("REPAIR"_T, [] {
vehicle::repair(self::veh);