Configuration
Detailed explanation of the config file to adapt the resource to your player needs.
The config.lua
Config = {}
Config.Framework = 'qb' -- ('esx')
Config.FrameworkPseudo = 'qb-core' -- custom framework name ('es_extended')
Config.Button = 200 -- 200 is the control ID for ESC
Config.Allowlist = { -- you can use discord id, fivem id, ip, steam hex, license
'license:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', -- allowed steam license
'discord:xxxxxxxxxxxxxxxxxxx', -- allowed discord id
'fivem:xxxxxxx', -- allowed fivem id
'ip:xxx.xxx.xx.xx', -- allowed ip
'steam:xxxxxxxxxxxxxxx', -- allowed steam hex
}
Config.Data = {
logo = 'https://i.ibb.co/ynKM18bt/logo.png',
server = 'ZAT ROLEPLAY',
Discord = 'https://discord.gg/HS5bzACbcR',
Youtube = 'https://www.youtube.com/@zatscripts',
max = '1024', -- max players
WeatherTypes = {
[-1750463879] = "CLEAR",
[916995460] = "EXTRASUNNY",
[-1368164796] = "CLOUDS",
[821931868] = "OVERCAST",
[-1148613331] = "RAIN",
[1840358669] = "CLEARING",
[1420204096] = "THUNDER",
[-1233681761] = "SMOG",
[282916021] = "FOGGY",
[-1530260698] = "XMAS",
[603685163] = "SNOWLIGHT",
[-1429616491] = "BLIZZARD"
},
}
Last updated