Commit Graph

6 Commits

Author SHA1 Message Date
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