Configuration

Config = {}

Config.Framework = "auto" -- auto, qb, esx, qbx

Config.OpenKey = {'P', 'Escape'}

Config.EventCommands = {
	add = "addactivity",
	remove = "removeactivity",
	permission = "admin"
}

Config.Events = {
	{
		name = "No Events",
		time = "Check Later",
		type = "trophy"
	}
}

Config.OpenInventory = function()
	TriggerEvent('inventory:openInventory')
end

Config.OpenMarketing = function()
	TriggerEvent('shops:openMenu')
end

Config.DiscordServer = "https://discord.gg/yourserver" 


Config.Notification = function(source, message, type)
	if not source then return end
	if Core.Framework == "qb" then
		TriggerClientEvent('QBCore:Notify', source, message, type)
	elseif Core.Framework == "esx" then
		TriggerClientEvent('esx:showNotification', source, message, type)
	end
end

Last updated