Commit Graph

9 Commits

Author SHA1 Message Date
Claude
0b5a7eb08a Cleanup vehicle options and enhance player interaction features
- Remove vehicle upgrades menu and replace with vehicle extras toggle
- Vehicle extras now show ON/OFF state and can be toggled per-extra
- Change Flip Vehicle to a toggle that keeps vehicle upright
- Repair Vehicle now also cleans the vehicle
- Move Super Jump from Fun Options to Self Options as a toggle
- Add player submenu in Network Options with Teleport, Heal, Spectate
- Add spectate player functionality with position following
- Add heal player functionality
- Fix teleport to player by properly setting selectedPlayer

https://claude.ai/code/session_01UiW74fDBzxs2RxKoFbaTpY
2026-01-28 16:48:26 +00:00
iDisaster
c7a63ba1d0 Enhance teleport to player functionality
Added error handling and position validation for teleporting to a player.
2026-01-17 22:39:25 +04:00
iDisaster
b74c35e033 Refactor vehicle model list with categories
Updated vehicle model list with categorized comments for better organization.
2026-01-14 05:50:12 +04:00
Claude
937fd103ab Fix network player list and enhance Red/Black UI theme
- Fix network player list serialization by using pipe-separated strings
  instead of arrays (fixes "Failed to read network arguments" error)
- Enhanced phone blocking with multiple native calls
- Redesign UI with deep black background and pulsing red accents
2026-01-13 14:29:58 +00:00
Claude
0e0a001fff Add self options and fix network player list
Self Options (new):
- Invincible toggle (setCharInvincible + setCharProofs)
- Super Run toggle (setCharMoveAnimSpeedMultiplier at 3x)
- No Ragdoll toggle (setPedCanRagdoll + switchPedToAnimated)

Network Options (fixed):
- Auto-refresh player list when entering network menu
- Show player count in menu header
- Direct teleport to player action (no submenu)
- Server now sends target position directly for teleport
- Added debug logging for player list retrieval
- Show helpful message when no players found
2026-01-13 14:03:59 +00:00
Claude
97efbf6a8e Rewrite modmenu to use client-side natives for all actions
Server-side:
- Remove all spawn checks and spawn code
- Relay actions to clients via network events

Client-side:
- Add handlers that execute actions using GTA IV natives
- natives.forceWeatherNow(id) for weather
- natives.forceTimeOfDay(hour, min) for time
- natives.giveWeaponToChar for weapons
- natives.fixCar, natives.changeCarColour for vehicles
- Direct localPlayer property access for health/armor/position
2026-01-13 04:07:10 +00:00
Claude
e14706c0e6 Simplify server: only modmenu resource with auto-spawn
- Remove other resources from server.xml (freeroam, admin, etc.)
- Add auto-spawn on player join in modmenu server.js
- Players now spawn automatically at random location when joining
2026-01-13 03:57:35 +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
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