Added variables for common self natives
This commit is contained in:
@ -64,7 +64,7 @@ namespace big
|
||||
{
|
||||
components::selectable(item["DisplayName"], item["Name"] == search, [&item]
|
||||
{
|
||||
const auto location = ENTITY::GET_ENTITY_COORDS(PLAYER::PLAYER_PED_ID(), true);
|
||||
const auto location = self::pos;
|
||||
const Vehicle veh = vehicle::spawn(item["Name"], location, 0.f);
|
||||
|
||||
if (g->spawn.spawn_inside)
|
||||
|
@ -19,9 +19,8 @@ namespace big
|
||||
ImGui::BeginGroup();
|
||||
|
||||
components::button("Repair", [] {
|
||||
Vehicle veh = PED::GET_VEHICLE_PED_IS_IN(PLAYER::PLAYER_PED_ID(), false);
|
||||
|
||||
vehicle::repair(veh);
|
||||
vehicle::repair(self::veh);
|
||||
});
|
||||
|
||||
if (ImGui::TreeNode("Paint"))
|
||||
|
Reference in New Issue
Block a user