Files
UltimateMenu/YimMenu
L7NEG 29965eeb59 Refactor Diamond Casino Heist UI & behavior
Rework Diamond Casino Heist UI and related behavior in Ultimate_Menu_Legacy.lua:

- Consolidate all prep dropdowns into a single ImGui block so controls render in the correct order; add offline checks.
- Make Loadout and Vehicles combos filtered by selected Gunman/Driver respectively; reset dependent indices on change.
- Replace legacy menu controls/buttons with ImGui.Buttons for Apply/Reset Preps and Reload/Solo/Kill Cooldown, keeping previous logic.
- Convert Cuts UI to ImGui: add checkbox to remove crew cuts, integer inputs for 4 player cuts, and preset selector (including auto max-payout preset). Preserve preset behavior and SetDiamondMaxPayout usage.
- Add state variables for UI inputs (casinoCrewCuts_enabled, casinoPc*_val) and a looped script that applies/removes crew cut tunables based on the checkbox.
- Minor formatting and naming cleanups (preset and names arrays, removed redundant separators/text).

This change improves layout consistency, UX, and keeps functionality intact while preparing the UI for more dynamic interactions.
2026-07-28 00:05:37 +03:00
..