Configuration
Configuration of gx_announcejob Resource
Framework
Select the framework you are using on your server.
Framework = "auto", -- "esx" / "qb" / "auto"
Command
Edit the command for announcement
Command = "anuncio", -- /anuncio Welcome testing
Duration
Duration of announce in seconds
Duration = 5, -- seconds
Sound and Volume
Edit sound for announcement
Sound = "./music/nofity_positive.mp3", -- "none" <- no sound | for add sounds here => web/music/(here)
SoundVolume = 0.2, -- recommend 0.2 | Volume min 0.1 max 0.5a
Config["jobs"]
Here add config for announcements! is unlimited!
{
job = "police", -- job
tittle = "LSPD",
cooldown = 30, -- this is in seconds: 0 <- no cooldown
style = {
logo = "https://static.wikia.nocookie.net/diamond-city/images/c/c0/LSPD.png",
message = "rgba(255, 255, 255, 0.9)", -- https://rgbacolorpicker.com/
background = {
image = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRawkD3_tjgjpdPsebcb5ppOq3MomxKW4TAzE6Um6-j2A&s",
box_shadow = "inset 0 0 15px 10px rgba(50, 0, 255, 0.4)", -- https://rgbacolorpicker.com/
border_color = "2px solid rgba(50, 0, 255, 0.836)", -- https://rgbacolorpicker.com/
},
tittle = {
h2 = "rgb(255, 255, 255)", -- https://rgbacolorpicker.com/
txtshadow = "-5px 2px 3px rgb(134, 134, 134)", -- https://rgbacolorpicker.com/
},
}
},
-- add more... infinity announcement!
WebHook
Discord logs!
discord = {
-- ['webhook'] = false, -- false log
['webhook'] = 'https://discord.com/api/webhooks/1273119857445175378/aVvMCATWW6nq2Z8wa69P9WRiu3WRBm8F715--Ju2MDlcGaHaZoY-60stiUA9pWIz7mWh',
-- profile
['name'] = 'gx_announcejob (LOG)',
['image'] = 'https://i.imgur.com/iBmE208.jpeg',
--- information...
['title'] = 'gx_announcejob - (Announce Send!) ',
['name_label'] = ' 😶🌫️**Player Name : **',
['id_label'] = '🆔**ID : **',
['job_label'] = ' 💼**Job : ** ',
['Message_label'] = ' 💭**Message : **_',
['section_information'] = '• || **Identifiers** || ',
['ip_label'] = ' **🛜IP : **',
['discord_label'] = ' **💿Discord : **',
['steam_label'] = ' **📀Steam : **',
['fivem_label'] = ' **🕹️Fivem : **',
['license_label'] = '🪪**License : **',
['My_info'] = ' [Tebex.io](https://guxfiz.tebex.io)\n [Discord](https://discord.gg/kncN7Fr5KT)\n [GitHub](https://github.com/Nestor36)',
-- color
['color'] = '16715466',
-- image embed
['image_embed'] = 'https://i.pinimg.com/originals/ab/0c/7c/ab0c7c3eafcb0c31f620178403bd2415.gif',
}
Last updated