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
This commit is contained in:
Claude
2026-01-25 18:16:42 +00:00
parent ef012aab38
commit 5ab25c0c98
3 changed files with 977 additions and 0 deletions

6
resources/chat/meta.xml Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<meta>
<info author="GTAConnected Server" type="script" version="2.0.0" description="Custom chat system with modern glossy UI and welcome/leave messages" />
<script src="server.js" type="server" language="javascript" />
<script src="client.js" type="client" language="javascript" />
</meta>