mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-07-01 03:53:03 +08:00
@ -219,6 +219,8 @@ namespace big
|
||||
static char global_name[50]{};
|
||||
ImGui::SetNextItemWidth(200.f);
|
||||
ImGui::InputText("##GlobalName", global_name, IM_ARRAYSIZE(global_name));
|
||||
if (ImGui::IsItemActive())
|
||||
g.self.hud.typing = TYPING_TICKS;
|
||||
if (ImGui::Button("Save Global"))
|
||||
{
|
||||
save_global(global_name, global_test);
|
||||
|
@ -120,6 +120,8 @@ namespace big
|
||||
{
|
||||
current_player->name = name_buf;
|
||||
}
|
||||
if (ImGui::IsItemActive())
|
||||
g.self.hud.typing = TYPING_TICKS;
|
||||
|
||||
if (ImGui::InputScalar("RID"_T.data(), ImGuiDataType_S64, ¤t_player->rockstar_id)
|
||||
|| ImGui::Checkbox("IS_MODDER"_T.data(), ¤t_player->is_modder)
|
||||
@ -189,6 +191,8 @@ namespace big
|
||||
current_player->notes = note_buffer;
|
||||
notes_dirty = true;
|
||||
}
|
||||
if (ImGui::IsItemActive())
|
||||
g.self.hud.typing = TYPING_TICKS;
|
||||
|
||||
ImGui::Checkbox("Join Redirect", ¤t_player->join_redirect);
|
||||
if (ImGui::IsItemHovered())
|
||||
|
@ -182,6 +182,8 @@ namespace big
|
||||
ImGui::SetNextItemWidth(300);
|
||||
|
||||
ImGui::InputText("##outfit_name", outfit_name, sizeof(outfit_name));
|
||||
if (ImGui::IsItemActive())
|
||||
g.self.hud.typing = TYPING_TICKS;
|
||||
ImGui::SameLine();
|
||||
|
||||
components::button("OUTFIT_SAVE_CURRENT"_T, [] {
|
||||
|
@ -21,6 +21,8 @@ namespace big
|
||||
|
||||
ImGui::SetNextItemWidth(300);
|
||||
ImGui::InputText("OUTFIT_NAME"_T.data(), outfit::get_slot_name_address(slot), 16);
|
||||
if (ImGui::IsItemActive())
|
||||
g.self.hud.typing = TYPING_TICKS;
|
||||
|
||||
static outfit::components_t components;
|
||||
static outfit::props_t props;
|
||||
|
@ -141,11 +141,7 @@ namespace big
|
||||
g.weapons.vehicle_gun_model = vehicle_gun;
|
||||
}
|
||||
if (ImGui::IsItemActive())
|
||||
{
|
||||
g_fiber_pool->queue_job([] {
|
||||
PAD::DISABLE_ALL_CONTROL_ACTIONS(0);
|
||||
});
|
||||
}
|
||||
g.self.hud.typing = TYPING_TICKS;
|
||||
|
||||
break;
|
||||
case CustomWeapon::PAINT_GUN:
|
||||
|
@ -132,6 +132,8 @@ namespace big
|
||||
components::small_text("VEHICLE_FILE_NAME"_T);
|
||||
ImGui::SetNextItemWidth(250);
|
||||
ImGui::InputText("##vehiclefilename", vehicle_file_name_input, IM_ARRAYSIZE(vehicle_file_name_input));
|
||||
if (ImGui::IsItemActive())
|
||||
g.self.hud.typing = TYPING_TICKS;
|
||||
if (ImGui::IsItemHovered())
|
||||
ImGui::SetTooltip("VEHICLE_FILE_NAME_EXAMPLE"_T.data());
|
||||
|
||||
@ -139,6 +141,8 @@ namespace big
|
||||
components::small_text("VEHICLE_FOLDER_NAME"_T);
|
||||
ImGui::SetNextItemWidth(250);
|
||||
ImGui::InputText("##foldername", save_folder, IM_ARRAYSIZE(save_folder));
|
||||
if (ImGui::IsItemActive())
|
||||
g.self.hud.typing = TYPING_TICKS;
|
||||
if (ImGui::IsItemHovered())
|
||||
ImGui::SetTooltip("VEHICLE_FOLDER_NAME_EXAMPLE"_T.data());
|
||||
|
||||
|
@ -16,9 +16,13 @@ namespace big
|
||||
|
||||
ImGui::SetNextItemWidth(width);
|
||||
ImGui::InputText("Dst", dst_text, IM_ARRAYSIZE(dst_text));
|
||||
if (ImGui::IsItemActive())
|
||||
g.self.hud.typing = TYPING_TICKS;
|
||||
ImGui::SameLine();
|
||||
ImGui::SetNextItemWidth(width);
|
||||
ImGui::InputText("Src", src_text, IM_ARRAYSIZE(src_text));
|
||||
if (ImGui::IsItemActive())
|
||||
g.self.hud.typing = TYPING_TICKS;
|
||||
ImGui::SameLine();
|
||||
|
||||
if (ImGui::Button("Add/Change"))
|
||||
|
Reference in New Issue
Block a user