Configuration
General Configuration
Config, Noti, Lang = {}, {}, {}
-- Use "esx" or "qb"
Config.Framework = "qb"
-- If you are using one of the most recent versions of ESX, set the script name. Default = "es_extended"
Config.ESXExport = "es_extended"
-- Default ESX: "esx:getSharedObject" | Default QB: "qb-core"
Config.Core = "qb-core"
-- oxmysql, mysql-async or ghmattisql
Config.Mysql = "oxmysql"
-- Command to open the menu
Config.command = "rewards"
Notifications
function notifications(notitype, message, time)
-- Change this trigger for your notification system keeping the variables
TriggerEvent('codem-notification', message, time, notitype)
end
-- Notifications types:
Noti.info = 'info'
Noti.check = 'check'
Noti.error = 'error'
-- Notification time:
Noti.time = 5000
Language Strings
Lang.alreadyDelivered = "You already have that reward"
Lang.received = "You have received your daily reward!"
Lang.futureDay = "You cannot select a future day"
Lang.oneReward = "You can only redeem one reward per day"
[!WARNING] Don't touch the first line of the configuration file.