Menan AK47
MENAN AK47DOCS
DiscordStore
Navigation
Menu
Welcome
FAQ
ak47_lib
ak47_target
ak47_ambulancejob
ak47_banking
ak47_business
ak47_carboosting
ak47_cardealer
ak47_clothingshop
ak47_crafting
ak47_crime
ak47_crutch
ak47_deliveryjob
ak47_drugdealerv2
ak47_drugmanagerv3
ak47_drugmissions
ak47_ecommerce
ak47_farming
ak47_fishing
ak47_fraudsystem
ak47_fuelstations
ak47_gangs
ak47_garage
ak47_garbagejob
ak47_hookahloungev2
ak47_housing
ak47_hud
Postal Map
Chat Suggestions
Configuration Guide
Global Notifications Integration
Exports
ak47_iclothingv3
ak47_idcardv2
ak47_inventory
ak47_jobgarage
ak47_khusbites
ak47_khusland
ak47_leafnlatte
ak47_mafiasupply
ak47_mechanic
ak47_moneywash
ak47_multicharacter
ak47_npcmed
ak47_outfitbag
ak47_playershop
ak47_policejob
ak47_prospecting
ak47_radio
ak47_rentalcar
ak47_safezone
ak47_sitchair
ak47_smokingv2
ak47_supermarket
ak47_switch
ak47_territories
ak47_vehiclekeys
ak47_vipshop
Loaf
DocsMulti FrameworkConfiguration Guide

Configuration Guide

Configure HUD modules, system parameters, and themes in config.lua and presets.lua.

Global Toggles

Enable or disable specific HUD modules inside config.lua:

Config.UseChat = true
Config.UsePartyFrame = true
Config.UseCrosshair = true
Config.UseSeatBelt = false -- Set to false to use an external seatbelt script
Config.UsePoliceRadar = true
Config.UseCustomizer = true -- Enables player /hud menu access
Config.CommunityName = 'Server Name' -- Displays in /hud header
  • Native GTA ammo, vehicle, and street displays toggle under GTA default UI settings.

Stress System

Configure stress multipliers and exempt classes under Config.Stress:

-- Job stress multipliers (0.0 = none, 2.0 = double)
Config.Stress.JobStressMultiplier = {
    police = 0.3,
    ambulance = 0.0,
}

-- Vehicle classes exempt from stress
Config.Stress.NoStressVehicleClass = {
    [14] = true, -- Boats
    [15] = true, -- Helicopters
    [16] = true, -- Planes
}

Seatbelt System

Configure minimum ejection speeds and vehicle exemptions:

  • Config.MinSpeedToEjectUnbuckled: Minimum speed required for crash ejection.
  • Config.BlacklistedClasses: Vehicle classes exempt from seatbelt mechanics (bicycles, aircraft, boats).
Config.BlacklistedClasses = {8, 13, 14, 15, 16, 21}

Chat Configuration

  • Config.ChatSubChannels: Defines channel tabs, colors, and permissions (OOC, Me, Do, 911).
  • Config.ChatTemplates: Defines HTML and CSS structure for chat message rendering.

Customizer Permissions

Restrict settings accessible to players in /hud via Config.CustomizerAccess:

  • Config.CustomizerAccess.Bulk: Toggles entire categories in the customization menu.
  • Config.CustomizerAccess.Single: Restricts specific attributes like shape, width, and height.

Forced UI Overwrites

Enforce server-wide visual styles by uncommenting entries in Config.SettingOverwrite:

statusHud = {
    displayStyle = "icon",
    radius = 4,
    fillStyle = "water",
},
  • Uncommenting a setting locks it server-wide over player preferences.
  • Commented lines allow individual player customization.

Server Presets

Define custom selectable UI themes in presets.lua:

table.insert(Config.ServerPresets, {
    id = "cyberpunk_theme",
    name = "Cyberpunk Neon",
    hudItems = {
        minimap = {
            minimapShape = "squaremap"
        },
        minimapRing = {
            color1 = "#ff00ff"
        },
        health = {
            color1 = "#ff00ff",
            color2 = "#200020",
            fillStyle = "water"
        },
        armor = {
            color1 = "#00ffff",
            color2 = "#002020",
            fillStyle = "water"
        },
        vehicleDigital = {
            speedUnit = "KMH",
            color1 = "#ff00ff"
        }
    }
})
  • Presets appear in the /hud theme selector for players.
  • Any property from Config.SettingOverwrite can be used in presets.
Previous
Chat Suggestions
Next
Global Notifications Integration
On this page
Global TogglesStress SystemSeatbelt SystemChat ConfigurationCustomizer PermissionsForced UI OverwritesServer Presets