โš™๏ธConfiguration

You can customize the whole script as you like. Here you can see a preview of the config and which languages the script provides by default. If you want to translate something yourself, you can send it to the Discord server, and it will be available for everyone in the next update.

Config File

config.lua
Config = {}

Config.Locale = 'en' -- Set the Language. (en, de, es, pt, fr, cn, jp)
Config.EnableConsoleWatermark = true -- Enable or disable the watermark in the console.

Config.Distance = 3.0 -- Set the distance to interact with the namechanger.
Config.EnableBlips = true -- Enable or disable the blips on the map.
Config.EnablePeds = true -- Enable or disable the peds at the namechanger.
Config.EnableMarker = false -- Enable or disable the markers at the namechanger.

Config.EnableChangeForeName = true -- Enable or disable the forename namechange.
Config.EnableChangeLastName = true -- Enable or disable the lastname namechange.

Config.ForeNamechangePrice = 10000 -- Set the price for the forename namechange.
Config.LastNamechangePrice = 10000 -- Set the price for the lastname namechange.

Config.EnableDiscordWebhook = false -- Enable or disable the discord webhook.
Config.DiscordWebhookURL = "https://discord.com/api/webhooks/ID/TOKEN" -- Set the discord webhook url.

Config.MenuTitleCSS = "tacoNamechange" -- Set the css for the menu title. (only needed if you use esx_menu_default)

Config.Locations = {
    ["cityhall"] = {
        coords = vector3(-545.14, -204.10, 37.23),
        heading = 214.0,
        model = 'cs_andreas',
        name = 'Namechanger',
        blip = {
            sprite = 498,
            color = 3,
            scale = 1.0,
            name = 'Namechanger',
        },
        marker = {
            type = 1,
            size = vector3(1.5, 1.5, 0.5),
            color = {r = 0, g = 200, b = 50, a = 120}
        },
    },
    ["police"] = {
        coords = vector3(441.2231, -978.84, 29.70),
        heading = 175.0,
        model = 'a_m_y_business_02',
        name = 'Namechanger',
        blip = {
            sprite = 498,
            color = 3,
            scale = 1.0,
            name = 'Namechanger',
        },
        marker = {
            type = 1,
            size = vector3(1.5, 1.5, 0.5),
            color = {r = 0, g = 200, b = 50, a = 120}
        },
    }
}

Localization

The following languages are included in the script by default:

  • ๐Ÿ‡บ๐Ÿ‡ฒ English

  • ๐Ÿ‡ฉ๐Ÿ‡ช German

  • ๐Ÿ‡ช๐Ÿ‡ธ Spanish

  • ๐Ÿ‡ซ๐Ÿ‡ท French

  • ๐Ÿ‡ต๐Ÿ‡น Portuguese

  • ๐Ÿ‡จ๐Ÿ‡ณ Chinese

  • ๐Ÿ‡ฏ๐Ÿ‡ต Japanese

Last updated