Config file

Config = {}

--Translation
Config.Language = "EN" --EN/PT
Config.ESXLegacy = true  --If you have legacy set it to true

Config.Translation = {
    EN = {
        NotificationTitle = 'Payment Terminar', 
        SuccessfulPayment= 'Successful Payment', 
        PaymentDenied= 'Payment Refused',
        NUIPayment = 'Payment',
        NUISymbol = '$',
        NUIWait = 'Waiting...',
        NUIValue = 'Value:',

    },
    PT = {
        NotificationTitle = 'Menu Radial',
        SuccessfulPayment= 'Pagamento efetuado com sucesso', 
        PaymentDenied= 'Pagamento recusado', 
        NUIPayment = 'Pagamento',
        NUISymbol = '€',
        NUIWait = 'Aguarde...',
        NUIValue = 'Valor:',
    },
}

--Customize Notification- Default zcmg_advanced-notify
function notify(msg, type)
    TriggerEvent('zcmg_advanced-notify:open', Config.Translation[Config.Language].NotificationTitle, msg, 5000, type)
end

Last updated