Scripts Guides
Configuration

CONFIGURATION

COLORS

To customize the car rental UI color to match your server's theme, go to onex-rental/shared/colors.lua.

colors.lua
Colors = {
    ["#ff0039"] = "#ff0039",
    ["white"] = "white",
    ["#C3DEFC"] = "#C3DEFC",
    ["black"] = "black",
    ["text_shadow_#ff00398a"] = "#ff00398a",
    ["#FFFFFF"] = "#FFFFFF",
    ["#1e1c2487"] = "#1e1c2487",
    ["#ff0039b5"] = "#ff0039b5",
    ["#0000004a"] = "#0000004a",
    ["#d9d9d936"] = "#d9d9d936",
    ["#447747"] = "#474747",
    ["#D9D9D9"] = "#D9D9D9",
    ["#000000"] = "#000000",
    ["#39393636"] = "#39393636",
    ["#99999903"] = "#99999903",
    ["#000000c7"] = "#000000c7",
    ["#00000088"] = "#00000088",
    ["#000000be"] = "#000000be",
    ["#262627eb"] = "#262627eb",
    ["#ff003999"] = "#ff003999",
    ["#ffffff7d"] = "#ffffff7d",
    ["#ffffffb5"] = "#ffffffb5",
    ["#d9d9d917"] = "#d9d9d917",
    ["#ffffff1c"] = "#ffffff1c",
    ["#ff00375e"] = "#ff00375e",
    ["#ffffff00"] = "#ffffff00",
    ["#ffffff57"] = "#ffffff57",
    ["#ffffff1a"] = "#ffffff1a",
    ["#effffb"] = "#effffb",
    ["#0000002b"] = "#0000002b",
    ["#66666600"] = "#66666600",
    ["#990022"] = "#990022",
    ["#faff00"] = "#faff00",
    ["#33ff00"] = "#33ff00",
    ["#ffffff17"] = "#ffffff17",
    ["#99999900"] = "#99999900",
    ["#ffffff47"] = "#ffffff47"
}

Language Configuration

To change the script language, navigate to:
onex-rental/shared/framework.lua
and modify the language setting.

The translations are generated using Google Translate. If you encounter any inaccuracies or inappropriate content, you can manually adjust the translations in:
onex-rental/shared/locales/Language_Name.lua

We also encourage you to report these issues on our Discord server so we can include fixes in future updates for all users.

Available Languages:

  • ar (Arabic)
  • bg (Bulgarian)
  • ca (Catalan)
  • da (Danish)
  • de (German)
  • en (English)
  • es (Spanish)
  • fa (Persian)
  • fr (French)
  • he (Hebrew)
  • it (Italian)
  • jp (Japanese)
  • ko (Korean)
  • pt (Portuguese)
  • ru (Russian)
  • th (Thai)
  • tr (Turkish)
  • zh (Chinese)

To set the language, update the following line in the framework.lua file:

Framework.Language = 'en'