Page cover

βš™οΈConfiguration

This is the configuration that you can give to this script to modify it to your liking

Change in Config.Framework your Framework

Config.Framework = 'qb-core' --- You can change Framework 'esx' or 'qb-core'

Config File

Config = {}

Config.Framework = 'qb-core' --- You can change Framework 'esx' or 'qb-core'

Config.LogoURL = 'https://i.imgur.com/X6b9nxl.png'
Config.Command = 'coins'
Config.OpenCoinsKey = 'O'

--- Main Customize

Config.TitleMenu = 'Coins Menu'
Config.TextMenu = 'Your Server Name Coins:'

--- Rewards System
Config.EnabledTimeReward = true
Config.TimeReward = 15  --- In minutes
Config.CoinsReward = 2 
Config.AccountType = 'coins'
Config.TextNotiRewards = 'You win x'


function notify()
    if Config.Framework == 'esx' then
        ESX = exports['es_extended']:getSharedObject()
        ESX.ShowNotification(Config.TextNotiRewards..Config.CoinsReward.. ' Server Name Coins')
    elseif Config.Framework == 'qb-core' then
        QBCore = exports['qb-core']:GetCoreObject()
        QBCore.Functions.Notify(Config.TextNotiRewards..Config.CoinsReward.. ' Server Name Coins', 'success', 7500)
    end 

end

Last updated