⚙️Configuration
• Custom Edits: You can freely change the branding, the colors or translate the texts. • Framework: Standalone • Config option for the music to be played outside or inside vehicle only. • You can disable the drift mode in the config. • The neon lights can also be disabled so it works only if the player installs the neons at the mechanic workshop. • The loops and updates intervals can all be configured to optimize the script to your liking. • Command and keybind can be changed • You can easily blacklist a vehicle class to not access the vehicle menu such as Trains. • Custom event to open the menu in your Radial Menu or any other script.
Under style.css look for #zr-container and add transform: scale(0.8);
Adjust the 0.8 number to your liking.
#zr-container {
display: none;
gap: 36px;
width: min-content;
height: 802px;
padding: 24px;
background-color: var(--zr-rich-black);
border-radius: 36px;
overflow: hidden;
resize: both;
max-width: max-content;
min-width: 655px;
max-height: 802px;
min-height: 602px;
transform: scale(0.8);
}
-- Vehicle classes are identified by integer values. Common classes include:
-- [0] Compacts, [1] Sedans, [2] SUVs, [3] Coupes, [4] Muscle, [5] Sports Classics,
-- [6] Sports, [7] Super, [8] Motorcycles, [9] Off-road, [10] Industrial, [11] Utility,
-- [12] Vans, [13] Cycles, [14] Boats, [15] Helicopters, [16] Planes, [17] Service,
-- [18] Emergency, [19] Military, [20] Commercial, [21] Trains
zr_config = {}
-- Vehicle Class Blacklist Configuration:
-- To blacklist a vehicle class, set its value to 'true'.
zr_config.VehicleClassBlacklist = {
[21] = true, -- Trains
}
zr_config.soundinsideonly = true --Set this to false if you want to hear music only from inside the vehicle.
zr_config.minimal_music_actions_key = "LMENU" --Get access to your mouse and interact with your Minimal Music Player.
zr_config.music_distance = 15 --Increase or lower the distance to stop hearing music when you have sound outside vehicle option enabled.
-- Command and Shortcut to open the menu
zr_config.OpenCommand = 'vehmenu'
zr_config.DefaultKey = "K"
-- Set to true if you want the neon settings to be enabled without the need of installing it
zr_config.InstalledNeon = true
-- Set to true if you want players to switch to drift mode
zr_config.EnableDriftMode = true
-- Neon lights durations configuration
zr_config.neonFlashMode = 250
zr_config.neonPulseMode = 50
zr_config.neonShuffleMode = 500
-- Headlights durations configuration
zr_config.xenonFlashMode = 250
zr_config.xenonShuffleMode = 500
-- Script Data Update loop (Don't make it lower than 500)
zr_config.UpdateInterval = 500
-- Translations
zr_config.desText = "No destination"
zr_config.vehmenuNotif = {
title = "[Vehicle Menu]",
cannotAccessMessage = "You cannot access the vehicle menu while in this vehicle."
}
Translations :
const zrTranslations = {
home: {
bodyHealth: 'Body Health',
engineHealth: 'Engine Health',
carDirt: 'Car Dirt',
temperature: 'Temperature',
liveLocation: 'Live location',
stopwatch: 'Stopwatch',
reset: 'Reset',
start: 'Start',
pause: 'Pause'
},
vehicleActions: {
title: 'Vehicle <span>Actions</span>',
windows: 'Windows',
doors: 'Doors',
seats: 'Seats',
headlights: 'Headlights',
auxiliary: 'Auxiliary',
neon: 'Neon'
},
musicPlayer: {
title: 'Music <span>Player</span',
songLink: 'Song link',
addToQueue: 'Add to queue',
playlist: 'PlayList'
}
}
Last updated