šļøExports
Find every detail of the Dynamic FiveM Chat where you will be able to apply code completely programmed by us in a fast and accessible way through simple exports and commands that we have created.
1. Get Admin Players
List of on-duty player IDs.
āŗāŗ Return (example): { 1, 2, 3, 4, 5, 6, 7 }
exports['jgs-chat']:getAdminPlayers()
2. Has Admin and Connected
Check if a specific player ID (source) is on duty and has admin permissions.
āŗāŗ Return: boolean
exports['jgs-chat']:hasAdminAndConnected(source)
3. Get Real Time
Take real game time directly from the chat system.
āŗāŗ Return (example): 21:46:33
exports['jgs-chat']:GetTime()
Last updated
Was this helpful?