F.A.Q

🚗 Car

chevron-rightFuel does not display correctly / It doesn't workhashtag
  • For this go to wais-hudv6/config.lua.

  • Go to Config.GetVehicleFuel Function and put export for your Custom Fuel script, if any, and return this value with return. Example:

Config.GetVehicleFuel = function(vehicle)
    -- Original one
    --return GetVehicleFuelLevel(vehicle) or 0.0 
    
    return exports["my_fuel_script_name"]:GetFuelLevelFuncName(vehicle)
end
chevron-rightBlocking the belt, carhud or music system in some vehicles or classeshashtag
  • For this go to wais-hudv6/config.lua.

  • Go to Config.BlacklistedVehicles table and add the vehicle or class as in the examples.

  • -- If its a model
    [`t20`] = {
         ["carhud"] = true,
    },
  • -- If its class
    [13] = {
        ["belt"] = true,
        ["music"] = true,
        ["carhud"] = true,
    },
chevron-rightDeactivating the music systemhashtag
  • For this go to wais-hudv6/config.lua.

  • In the Config.MusicSystem table, find the variable [‘disable’] and set it to true.

  • Now the music system in the car control menu will be completely disabled (including events and codes).

chevron-rightNearby location Add/Removehashtag
  • For this go to wais-hudv6/bridge/editable/location.lua.

  • Find the category of the location you want to add or delete, then add the new location by going one below the last vector3 in the category, then put a comma at the end of the vector3 you added. Find the location in delete vector3 and delete it with the comma at the end

chevron-rightChange Default Fuel Typehashtag
  • For this go to wais-hudv6/web/public/config.json.

  • Find the variable ‘fuelType’ and change the place between the quotes on the right side. Types: litres or gallons

🌎 Map

chevron-rightMinimap becomes invisible / disappears and comes backhashtag
  • For this go to wais-hudv6/config.lua.

  • If you are using a postal map, find the Config.PostalMap table and set the [‘enabled’] variable to true. This will fix the map disappearance.

chevron-rightHow to keep the map always active ( Show map on foot or Always )hashtag
  • For this go to wais-hudv6/config.lua.

  • Find the variable Config.ShowMapOnFoot = false and make it true.

chevron-rightShow Postal Shortly?hashtag
  • For this go to wais-hudv6/config.lua.

  • Go to the Config.PostalMap table and set the [‘showNearPostal’] variable to true.

chevron-rightChange Default Map Typehashtag
  • For this go to wais-hudv6/web/public/config.json.

  • Find ‘mapType’ for the map type and change the ‘square’ between the quotes on the right side. Types: square, circle.

chevron-rightPostal Addresses Wronghashtag
  • If you think the postals are wrong, you may be using a different postalmap.

  • For the correct result, you can install the latest postal map from the link above.

  • If you do not want to install it, you can get the locations of your own postal addresses.

  • ( wais-hudv6/bridge/editable/postal.lua )

chevron-rightMap is not positioned / Map Animation does not appearhashtag

Recommended resolutions to use this feature:

1280x720 1366x768 1920x1080 2560x1440

Map animation and positioning work at this resolution. Other intermediate screen resolutions are not yet supported. Stabilisation will be done with future updates.

chevron-rightDisable Map Animationhashtag
  • For this go to wais-hudv6/config.lua.

  • Find the value Config.DisableMapAnimation = false and then change the false value to true.

chevron-rightOulsen Satellite Map Postals Setuphashtag

Enable Oulsen Postals in fxmanifest.lua

In the shared_scripts section, make sure:

  • 'bridge/editable/oulsen_satmap_postals.lua', is uncommented

  • 'bridge/editable/postal.lua', is commented out

Example:

  • And just add this file to bridge/editable

Oulsen Satellite Map Postals Setup

💸 Money

chevron-rightCash / Money is showing 0hashtag
  • For this go to wais-hudv6/config.lua.

  • If money is item in your inventory, go to Config.MoneySettings and set [‘isItem’] variable to true. ( In ox_inventory, money is not an item. )

  • Your money will now appear in the hud information section.

chevron-rightChange Money Prefix and Symbolhashtag
  • For this go to wais-hudv6/web/public/config.json.

  • Find the Money table and change the text between the quotes on the right side of the ‘prefix’ and ‘symbol’ variables.

📋 Others

chevron-rightDebug Printshashtag
  • For this go to wais-hudv6/config.lua.

  • Find the variable Config.ShowDebug = false and make it true.

chevron-rightTimer Locationhashtag
  • For this go to wais-hudv6/web/public/config.json.

  • Find the variable ‘timerLocation’ and change the data on the right side. Replace ‘en-US’ with the shortcode for your country or the main language supported by the server.

chevron-rightChange Language hashtag
  • For this go to wais-hudv6/config.lua.

  • Then find Config.Language = ‘en’ and type a valid language file name ( ar, cz, ro, it, fr, fr, de, en )

chevron-rightStatus Alerts ( Hunger Thirst )hashtag
  • For this go to wais-hudv6/config.lua.

  • Find the variable Config.SendStatusAlert = false and make it true

chevron-rightStatuses Shows 0 ( ESX )hashtag
  • This error usually occurs because you have customized esx_status or because it is outdated.

  • Another common issue is that the “esx_status:onTick” event has been modified. Therefore, reset the script to its default state.

  • Another problem is that the status data is empty. In such cases, you need to process the status data by eating or drinking something using scripts such as esx_basicneeds.

chevron-rightCustom Weapon and Image additionhashtag
  • For this go to wais-hudv6/bridge/editable/weapons.lua.

  • At the bottom of the file we will add a new table as below. Thanks to this table, the weapon name will appear in hud:

  • To add a photo of the weapon, you need a ‘Hash’ type expansion of your weapon name. Use here for thisarrow-up-right

  • After typing your weapon name correctly on this site, you will find the hash address of your weapon. Copy this hash address and go to: wais-hudv6/web/public/images/weapons

  • Drag the weapon photo here and then paste the hash address you copied into the file name. Afterwards, you can see the weapon photo in the hud by restarting the script after the refresh command.

  • NEW Method: You can do this without converting to hash. You can add a new image with the weapon name, then find the table for that weapon in weapons.lua and specify the custom image name. Like this:

triangle-exclamation
chevron-rightUse Stress System hashtag
  • You can see the stress system next to the health bars by making the Config.StressSystem variable true. You should use an additional script to increase or decrease your stress.

chevron-rightDisable Right Cornerhashtag
  • For this go to wais-hudv6/config.lua.

  • To do this, locate the Config.DisableRightCorner = false variable and change the false value to true.

chevron-rightResmon Valuehashtag

Note: As is well known, scripts in FiveM run on a single core. Therefore, your processor's architecture and single-core performance directly affect the resmon value.

On older or lower-frequency processors, the code takes longer to execute, so the resmon value naturally appears higher. On newer, high-performance processors, the same code runs much faster, so the resmon value may appear lower (even 0.00).

Since not all processors have the same structure or speed, it is not possible to achieve a 0.00 ms resmon value on every system — this is entirely due to hardware differences.

This situation has nothing to do with the written code or script optimization; the difference is entirely dependent on the processor's power and architecture.

The Resmon values were recorded in an environment where the computer was under the lightest load and usage was minimal.

chevron-rightMaximum Armor higher than 100hashtag
  • For this go to wais-hudv6/config.lua.

  • If your maximum armor level is above 100, you should write it here. This way, the HUD bar will act accordingly.

  • 📛📛 ATTENTION: Does not modify or set player data. It is only an offset setting for visual appearance.

chevron-rightDisable Location / Widgethashtag
  • For this go to wais-hudv6/config.lua.

  • If you set it to true, the location and compass will not be displayed. If the nearby postal address is also not visible, the element there will be automatically hidden. If set to false, the Compass and Location will be displayed.


‼️Hud disappears in an instant

If you're reading this headline, I know you're in a difficult situation. I was experiencing the same issue on my own server. However, this issue is not related to HUD. The entire user interface is crashing.

I have confirmed that the issue stems from YouTube's updated APIs.

The system crashes due to a memory leak in the car radio script on a live server with 400 users.

The scripts that typically play the biggest role in causing this issue are:

  • Car radio scripts. Music broadcast to everyone via YouTube inside the vehicle.

  • Scripts that function as sound libraries, such as xSound.

At this point, the most appropriate solutions, as I have implemented on my own server, are to disable these and similar scripts or to disconnect from YouTube.

A GitHub issue has been created regarding xSound, and there are cases worldwide where such issues have caused Chromium to crash:


🎨 Change, Export / Import Customizations

Export Customizations

  • Use the /hud command to change elements and some options.

  • Press PageUp to open editor mode (Default Key)

  • Once all changes are complete, scroll down a bit in the “General” tab using /hud and click the ‘Export’ button in the “Export Customizations” option.

Import Customizations

  • Paste the JSON data you copied into an IDE, delete the top and bottom { } brackets, and copy the remaining data.

  • Replace the copied data with the data here: wais-hudv6/web/public/Config.json

  • If you do something wrong in this section, the hud will be damaged or will not work. Please watch the video.


circle-info

There are no more available yet, please open a ticket if the topics here are not suitable for what you are looking for.

Who developed it / How can I get help

You can recognise our script developers by the short names of the script. Scripts with short name ‘Wais’ are made by Ayazwaiarrow-up-right.

circle-check

Last updated