Configuration
Every setting of the HUD in cl_config.lua
Every option in cl_config.lua is documented below. The file is shared by the client and the server, so one edit applies to both.
MS.Localeen- Language of the HUD texts: de or en.
MS.Settings.dev_modefalse- Enables debug console logging, tagged [MORE Scripts - HUD], and the testhud command that shows sample notifications and elements.
MS.Settings.load_delay3000- Milliseconds the resource waits after start before initializing.
MS.Settings.comps8 components- GTA HUD component IDs the custom HUD replaces: 1 wanted stars, 2 weapon, 3 cash, 4 MP cash, 6 vehicle name, 7 area, 8 vehicle class, and 9 street.
MS.Settings.voicepma- Voice integration the HUD reads: pma, yaca, or saltychat. Must match the voice resource you run.
MS.Settings.volume0.5- Volume from 0.0 to 1.0 for the notification, announcement, mute, and seatbelt sounds.
MS.BrandingMORE City ROLEPLAY- Text of the branding element: title (MORE), accent word (City), and subtitle (ROLEPLAY). Set them to your server's name.
MS.Layout.helpkey1- Design of the help key prompt, 1 to 6.
MS.Layout.progressbar1- Design of the progress bar, 1 to 5.
MS.Layout.speedo1- Design of the speedometer, 1 to 8. Boats and aircraft have their own designs.
MS.Layout.mute1- Design of the mute screen, 1 to 4.
MS.Layout.weapon1- Design of the weapon display, 1 to 5.
MS.Layout.notify1- Design of notifications, 1 to 7.
MS.Layout.notifysound1- Sound of notifications, 1 to 8.
MS.Layout.announce1- Design of announcements, 1 to 4. Only design 4 shows the subtitle.
MS.Layout.announcesound1- Sound of announcements, 1 to 8.
MS.Layout.speedlimit1- Speed limit sign design: 1 shows the text Speed Limit, 2 a round sign, 3 a round sign with a red ring.
MS.Layout.jobs, location, clock1- Designs of the job, location, and clock elements, 1 to 12 each.
MS.Layout.adminstats, playerstats2- Designs of the admin stats and player stats, 1 to 12 each.
MS.Layout.voice1- Design of the voice indicator, 1 to 7.
MS.Layout.radiolist1- Radio list: 1 shows every member, 2 shows every member with talkers on top, 3 shows only talkers.
MS.Layout.money1- Design of the money display, 1 to 29.
MS.Layout.food2- Design of the food status, 1 to 5.
MS.Layout.branding1- Design of the branding element, 1 to 29.
MS.HudMenu.keyF10- Key that opens the HUD menu, where players arrange and adjust the HUD elements. The hud command opens it as well.
MS.Modulesall true- Switches each module on or off: Speedo, Voice, Mute, Radio, Branding, Money, BlackMoney, Coins, Job, Location, Clock, PlayerStatus, Food, Weather, Deathtimeout, Seatbelt, Safezone, ExclusionZone, Chat, Keybinds, PlayerStats, AdminStats, Minimap, Speedlimit, NOS, and Mileage. All are true by default.
MS.Weather15 types- Minimum and maximum temperature in degrees Celsius per weather type: EXTRASUNNY 20 to 34, CLEAR 18 to 30, NEUTRAL 16 to 26, SMOG 17 to 28, FOGGY 10 to 18, OVERCAST 12 to 20, CLOUDS 14 to 23, CLEARING 13 to 22, RAIN 10 to 17, THUNDER 9 to 16, SNOW -6 to 1, BLIZZARD -12 to -4, SNOWLIGHT -3 to 3, XMAS -5 to 2, HALLOWEEN 6 to 12.
MS.Combat16 controls- Control IDs used to detect combat: 24, 257, 25, 263, 45, 37, 39, 47, 66, 13, 98, 264, 140, 141, 142, and 143.
MS.Deathtimeout.time600- Seconds of the death timeout.
MS.SeatbeltB, 1000- Seatbelt settings: key (B), cooldown (1000 ms), alarm sound (true), vehicle classes without a belt (motorcycles 8, cycles 13, boats 14, helicopters 15, planes 16, trains 21), and a models table for extra exceptions (empty by default).
MS.Safezoneempty list- List of safezones, empty by default. Each entry can define points, minZ and maxZ, jobs, weapons, vehicles, invincible, and border; a commented example is included in the config.
MS.ExclusionZoneexclusionzone- Exclusion zone settings: the command name (exclusionzone) and the limits per job for police and sheriff (min 50, max 500, 2 zones, blip sprite 60, colour 3).
MS.Chat.keyT- Key that opens the chat.
MS.RequestY, X- Keys that answer a request made through the Request export: accept (Y) and decline (X). Players can rebind them.
MS.Speedometerkmh- Speed unit (kmh or mph), sonar range (100.0 meters), and sonar volume (0.3).
MS.Sonar3 models- Vehicle models that have a sonar under water: avisa, submersible, and submersible2.
MS.MuteM- Mute screen: key (M), a header text (YOURE MUTED, last word in red), and a description (Press {key} to unmute yourself), each part individually switchable.
MS.Keybinds.keys3 keys- Keybind hints shown in the HUD: phone (F1), mic (N, no command), and chat (T), each with an icon. Edit the entries to change the hints.
MS.AdminStats2 entries- Admin stat entries shown to staff: einreise (plane icon) and admins (team icon), each with an enabled flag and the permission groups (pl, admin, mod) that can see it.
MS.Commands3 commands- Permission groups allowed to use the staff commands: announce (pl, admin, mod), teamchat (pl, admin, mod, sup), and deathtimeout (pl, admin, mod, sup).
MS.Minimap27.5, -22.9, 0.669- Minimap position and size: left 27.5, bottom -22.9, size 0.669. With MS.Settings.dev_mode enabled, the minimapfit command (left, bottom, size) lets you test values live.
MS.Speedlimit80, 120- Speed limit sign: default limit 80, highway limit 120, and a streets table to set a limit per street name (empty by default, with a commented example in the config).
MS.NOSitem nos- NOS system: item (the item name, nos), key (LSHIFT), particle effect (SuccessNeutral), install time 10 s, boost duration 8 s, power 2.0, kick 5.0 m/s, refill time 5 s, and a per-vehicle-class table of which classes may use NOS (classes 0 to 7, 9, and 12 are allowed by default).
MS.Notify.time, copy_key5000, G- time: default milliseconds a notification, ad, or team chat message stays on screen. copy_key: key that copies a notification's content to the clipboard; players can rebind it in their key settings.
MS.Notify.badwordsword list- Filtered words. A notification, announcement, team chat message, or ad that contains one of them as a whole word, in any case, is dropped and not shown. Edit the list to match your rules.
MS.Announce.time10000- Milliseconds an announcement stays on screen when the caller names no time.
MS.GetNitrofunction- Customization hook that returns a vehicle's NOS level from 0.0 to 1.0, by default from the HUD's own NOS data. Edit it to read the level from another system.
MS.GetMileagefunction- Customization hook that returns a vehicle's mileage in km, by default from the mileage the HUD tracks. Edit it to read mileage from another system.
MS.GetCoinsfunction (client)- Customization hook that returns the player's whole coin count for the Coins module; it returns 0 by default and nil is shown as 0. Edit it to connect your own coin system.
Last updated