🖥️ UI & Commands
🎨 Customize your mileage UI and commands here!
✨ Make your server unique and user-friendly by adjusting the UI elements and commands related to the mileage system.
🧑💻 UI Settings
Mileage Visibility: Control whether the mileage display is visible or hidden.
mileage_visible = 1
(1 = visible, 0 = hidden)UI Scale: Adjust the size of the mileage UI and the CheckWear UI independently.
mileage_size = 1
(scale for mileage UI)checkwear_size = 1
(scale for CheckWear UI)
UI Positioning: Set the X and Y screen coordinates for the mileage and CheckWear UI elements to position them anywhere on the screen.
mileage_pos_x = 1660
mileage_pos_y = 1012
checkwear_pos_x = 1495.75
checkwear_pos_y = 72.75
🌐 Commands
Customize UI Command: Open the UI customizer with the command:
mileageui
Check Wear Command: Check the condition of vehicle parts with:
checkwear
Clear Mileage Command: Reset the vehicle mileage using:
clearmileage
Database Command: Open the vehicle data list with:
mileagedb
Config.DefaultUI = {
mileage_visible = 1, -- 1 = visible, 0 = hidden
mileage_size = 1, -- UI scale
checkwear_size = 1, -- CheckWear UI scale
mileage_pos_x = 1660, -- Mileage UI X position
mileage_pos_y = 1012, -- Mileage UI Y position
checkwear_pos_x = 1495.75, -- CheckWear UI X position
checkwear_pos_y = 72.75 -- CheckWear UI Y position
}
Config.CustomizeCommand = 'mileageui' -- Open UI customizer
Config.CheckWearCommand = 'checkwear' -- Check vehicle part condition
Config.CMCommand = 'clearmileage'-- Reset vehicle mileage
Config.DatabaseCommand = 'mileagedb' -- Open vehicle data list
Last updated