Commit Graph

7 Commits

Author SHA1 Message Date
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
686f80d49c Fix server-side API errors: use toColour, Vec3, spawnPlayer, giveWeapon
- Replace color arrays with toColour() integer format for message/messageClient
- Replace position arrays with Vec3 objects for player/vehicle positions
- Use pos.x, pos.y, pos.z instead of pos[0], pos[1], pos[2]
- Fix client.spawn() to client.spawnPlayer(Vec3, heading, skin)
- Fix client.giveWeapon() to client.player.giveWeapon()

Fixed files: freeroam, admin, chat, world, teleport, vehicles, modmenu
2026-01-12 15:16:21 +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
Claude
c24c883252 Add comprehensive GTA IV freeroam server with multiple resources
Features:
- Freeroam resource: Player spawning, basic commands, kill tracking
- Vehicles resource: 100+ GTA IV vehicles with spawn commands
- Admin resource: Full moderation (kick, ban, mute, freeze, etc.)
- World resource: Weather and time control
- Chat resource: Private messages, local chat, roleplay actions
- Teleport resource: 30+ Liberty City locations with waypoints
- Server configuration and comprehensive README documentation
2026-01-10 23:13:58 +00:00
iDisaster
5b763de35a Initial commit 2026-01-11 02:57:11 +04:00