Commit Graph

5 Commits

Author SHA1 Message Date
Claude
2b62ce56ce Fix chat issues: lobby visibility, event errors, message display, and text alignment
- Remove event.preventDefault() calls as these events are not cancellable in GTA Connected
- Add in-game detection using localPlayer to hide chat when in lobby
- Change network event parameters from objects to individual args for compatibility
- Fix text alignment with consistent font sizes and proper vertical centering
- Rename to "Revolution chat" per user preference
2026-01-26 10:04:19 +00:00
Claude
5ab25c0c98 Add custom chat UI with modern glossy design and welcome/leave messages
- Create client.js with glassmorphism-style chat UI matching mod menu theme
- Add animated player join/leave notifications (slide-in from right)
- Implement custom chat rendering with timestamps, scrolling, and message types
- Support for multiple chat types: normal, action, whisper, shout, OOC, local, system
- Add smooth fade animation when chat is idle
- Update server.js with network events for custom UI communication
- Add OnPlayerJoined/OnPlayerQuit handlers for welcome/leave broadcasts
2026-01-25 18:17:14 +00:00
iDisaster
1bd6f025b0 Delete resources/chat directory 2026-01-25 22:09:45 +04: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
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