Configuration

Configuration of gx_dialog

Config = {}

-- Configuration basic. Bridge automatic in init.lua
Config.Locale = 'es' -- Default language, change to your preferred language
Config.Update = true -- Set to false if you don't want to check for updates

Config.CommandCheck = 'gx_check_dialogs' -- Command to check dialogs or nil

-- Translation configuration
Config.Locales = {
    ['es'] = {
        ['label_target'] = 'Hablar con ',
        ['buy_item'] = 'Has comprado %dx %s por $%s',
        ['not_enough_money'] = '~r~No tienes suficiente dinero. Necesitas $%s',
        ['no_inventory_space'] = '~r~No tienes suficiente espacio en el inventario',
        ['sell_item'] = 'Has vendido %dx %s por $%s',
        ['sell_item_black_money'] = 'Has vendido %dx %s por $%s (dinero negro)',
        ['invalid_reward_type'] = '~r~Error: Tipo de recompensa no válida',
        ['not_enough_items'] ='~r~No tienes suficientes %s (tienes %d, necesitas %d)',
    },
    ['en'] = {
        ['label_target'] = 'Talk to ',
        ['buy_item'] = 'You bought %dx %s for $%s',
        ['not_enough_money'] = '~r~You don\'t have enough money. You need $%s',
        ['no_inventory_space'] = '~r~You don\'t have enough inventory space',
        ['sell_item'] = 'You sold %dx %s for $%s',
        ['sell_item_black_money'] = 'You sold %dx %s for $%s (black money)',
        ['invalid_reward_type'] = '~r~Error: Invalid reward type',
        ['not_enough_items'] ='~r~You don\'t have enough %s (you have %d, you need %d)',
    }
}

Config.HideHud = function()
    
    print("^3[GX DIALOG] HUD hidden^0")
end

Config.ShowHud = function()
    
    print("^3[GX DIALOG] HUD shown^0")
end

Config.Debug = false -- debug mode

Last updated