Commit Graph

5 Commits

Author SHA1 Message Date
Claude
889c3e56e5 Fix mod menu: control locking and use default font
- Fix control locking: gui.showCursor(false, true) re-enables controls on close
- Use lucasFont.createDefaultFont instead of loading external TTF file
- Use graphics.drawRectangle with pixel coordinates for menu boxes
- Use toColour() for color integers
- Menu positioned at right side of screen (x=1050)
2026-01-13 03:45:07 +00:00
Claude
3c68c3a4a4 Rewrite mod menu drawing to use GTA IV natives with Vec2
- Move menu to right side of screen (x=0.73) to avoid chat
- Use normalized coordinates (0-1) for screen positions
- Use natives.drawRect(Vec2 pos, Vec2 size, r, g, b, a)
- Use natives.displayText(Vec2) with addTextComponentString/drawText
- Separate RGBA color components instead of toColour integer
- Fix text rendering with proper native text function sequence
2026-01-12 15:51:25 +00:00
Claude
7bc52ef9d4 Fix client-side drawing API to use Vec2 and graphics API
- Replace natives.drawRect with graphics.drawRectangle using Vec2 objects
- Replace natives text functions with font.render using Vec2 position
- Correct signatures: graphics.drawRectangle(null, Vec2, Vec2, colour...)
- Correct signatures: font.render(text, Vec2, width, align, justify, size, colour)
2026-01-12 15:41:25 +00:00
Claude
fee097c7db Fix mod menu client-side drawing API errors
- Remove gta.setCursorEnabled (not available in GTAC)
- Use gui.showCursor with proper checks
- Fix drawing functions to use natives API with correct parameters
- Add fallback drawing methods with try-catch
- Use GTA IV native text/rect drawing functions
2026-01-10 23:28:55 +00:00
Claude
dad2741754 Add interactive mod menu with GUI for all players
Features:
- Press F5 to open/close the mod menu
- Self options: health, armor, weapons, god mode, skins
- Vehicle spawner: 50+ vehicles organized by category
- Vehicle options: repair, flip, colors, drift mode, handling
- Network options: player list, teleport to other players
- Teleport locations: 15+ Liberty City locations
- World options: time and weather control
- Weapons menu: individual and all weapons
- Fun options: launch, ragdoll, ped spawning

Menu navigation via arrow keys, Enter to select, Backspace to go back
2026-01-10 23:21:39 +00:00