Onex ScriptsDocumentation
Documentation
Loading...
CONFIGURATION#
COLORS#
To customize the car rental UI color to match your server's theme, go to onex-rental/shared/colors.lua.
onex-rental/shared/colors.lua1Colors = {2 ["#ff0039"] = "#ff0039",3 ["white"] = "white",4 ["#C3DEFC"] = "#C3DEFC",5 ["black"] = "black",6 ["text_shadow_#ff00398a"] = "#ff00398a",7 ["#FFFFFF"] = "#FFFFFF",8 ["#1e1c2487"] = "#1e1c2487",9 ["#ff0039b5"] = "#ff0039b5",10 ["#0000004a"] = "#0000004a",11 ["#d9d9d936"] = "#d9d9d936",12 ["#447747"] = "#474747",13 ["#D9D9D9"] = "#D9D9D9",14 ["#000000"] = "#000000",15 ["#39393636"] = "#39393636",16 ["#99999903"] = "#99999903",17 ["#000000c7"] = "#000000c7",18 ["#00000088"] = "#00000088",19 ["#000000be"] = "#000000be",20 ["#262627eb"] = "#262627eb",21 ["#ff003999"] = "#ff003999",22 ["#ffffff7d"] = "#ffffff7d",23 ["#ffffffb5"] = "#ffffffb5",24 ["#d9d9d917"] = "#d9d9d917",25 ["#ffffff1c"] = "#ffffff1c",26 ["#ff00375e"] = "#ff00375e",27 ["#ffffff00"] = "#ffffff00",28 ["#ffffff57"] = "#ffffff57",29 ["#ffffff1a"] = "#ffffff1a",30 ["#effffb"] = "#effffb",31 ["#0000002b"] = "#0000002b",32 ["#66666600"] = "#66666600",33 ["#990022"] = "#990022",34 ["#faff00"] = "#faff00",35 ["#33ff00"] = "#33ff00",36 ["#ffffff17"] = "#ffffff17",37 ["#99999900"] = "#99999900",38 ["#ffffff47"] = "#ffffff47"39}
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:
shared/framework.luaFramework.Language = 'en'