S-Service
S-Service
  • S-SERVICE
    • πŸ’₯About S-Service
  • Docs for our Products
    • πŸ”«S-Gangwar
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • ✨S-FFA
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸ‘¨β€βš•οΈS-Revivestation
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸ“¦S-Postal
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦S-Factions
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸ–ΌοΈS-Loadingscreen
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸ“©S-Identity
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸš—S-Garage
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • 🎫S-Namechange
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸ—ΊοΈS-HUD
      • πŸ› οΈInstallation
        • HUD setup into ESX
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸ””S-Notify
      • πŸ› οΈInstallation
        • Notify setup into ESX
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸ€–S-Admin
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
        • Permissions
        • Commands
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • 🚘S-Rental
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸ“‚S-Scoreboard
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸ’€S-Deathscreen
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • 🏠S-Housing
      • πŸ› οΈInstallation
        • Guides
          • Insert new Shells
        • Default Settings
          • Default Garages
          • Default Shells
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸ§‚S-SaltyNUI
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸ’»S-Inventory
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸ‘•S-Clothingshop
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸŽ„S-Christmas
      • πŸ› οΈInstallation
        • Tebex Wrapper (Premium)
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸ›„S-Warehouse
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸͺS-Dealerships
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸ›’S-Shops
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸ“’S-Lifeinvader
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • πŸ’΅S-Moneywash
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
    • 🏎️S-Platechange
      • πŸ› οΈInstallation
      • βš™οΈConfiguration
      • 🧩Exports and Events
      • πŸ“ŒInformations / Typical Errors
Powered by GitBook
On this page
  • Remove a element of the HUD
  • Possible Installing Issues
  • Failed to verify protected resource...
  • You lack the required entitlement to use...
  • Possible Script Issues
  • Speedometer
  1. Docs for our Products
  2. S-HUD

Informations / Typical Errors

This page will give you information about the script. Also are typical Errors listed, so that you can easily fix them!

Remove a element of the HUD

If you want to remove something from the HUD or turn it off so that your players no longer see it, then you've come to the right place!

First of all: This is only possible if the SHUDSettings database is empty. Because the database overwrites the default options!

  1. Set the element to 0 in the Config

Config.Default = {
    -- 0 Disable , -- 1 Modern, 2 -- Round. 3 -- Classic
    AnnounceDesigns = 1,
    SpeedoDesign = 1,
    Helptext = 1,
    DefaultWeaponDesign = 1,
    MoneyDesign = 1,
    VoiceDesign = 1,
    Defaultnotifydesign = 1,
    DefaultAdminNotify = 1,
    DefaultIDDesign = 1,
    TextDesign = 1,
    DefaultPlayerCountDesign = 1,
    DefaultJobDesign = 1,
    DefaultProgressbarDesign = 1,
    DefaultFoodDesign = 0
}
  1. Remove the elment from the listselectable table that can be found in the selectable.lua.

  2. <optional> If one of the elements has a left/right design you can remove this option also in the selectable.lua under the table listleftright!

Now the things are no longer visible to the player, and these things cannot be changed.

Possible Installing Issues

If you encounter any issues with the script, here are some troubleshooting steps that you can try!

Failed to verify protected resource...

This error message indicates that the script files may be corrupted, or the .fxap file is missing. To resolve this issue, try these following steps:

  1. Verify that the .fxap file is existing in the script folder.

  2. Try deleting the script forlder from your server and upload it again.

  3. If the issue persists try to change your FTP client.

You lack the required entitlement to use...

If you see this message, it can be that there is a problem with your Keymaster account. Restart your FiveM server and verify your Keymaster account to resolve it

Possible Script Issues

Speedometer

function GetFuel(vehicle)
    return exports["LegacyFuel"]:GetFuel(vehicle), 100
end
function GetFuel(vehicle)
    if vehicle ~= nil then 
       return Entity(vehicle).state.fuel, 100
    end
end

Native:

function GetFuel(vehicle)
    if vehicle ~= nil then 
       return GetVehicleFuelLevel(vehicle), 100
    end
end

If you cannot find a way to fix the bug, feel free to create a ticket on our Discord

PreviousExports and EventsNextS-Notify

Last updated 6 months ago

Speedometer is not working or showing "undefined". This is most likely to the fact that you haven't changed the fuel system in the client/openfunctions.lua to the one that you're using. As with the default script comes an integration only for .

:

:

πŸ—ΊοΈ
πŸ“Œ
LegacyFuel
LegacyFuel
ox_fuel