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
  1. Docs for our Products
  2. S-HUD

Installation

Welcome to our installation guide! In this section, we'll walk you through the steps to effortlessly set up the Script S-HUD!

PreviousS-HUDNextHUD setup into ESX

Last updated 1 year ago

HUD System Installation

Follow this steps to install the script:

  1. Download the Script from

  2. Drag the Script into your resources

  3. Add this to you your server.cfg: start S-HUD

  4. If the SQL file doesn't insert automatically, insert the SQL file in your database by hand.

CREATE TABLE IF NOT EXISTS `SHUDSettings` (
  `identifier` varchar(250)  COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `index` int(11) NOT NULL AUTO_INCREMENT,
  `hud2` int(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `hud` int(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notifys` int(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `speedometer` int(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `eatdrink` int(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL, 
  `weaponinfo` int(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bankinfo` int(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interaction` int(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `voicedesign` int(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL, 
  `textdesign` int(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `iddesign` int(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `progressbar` int(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `iddesignleftright`int(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bankinfoleftright`int(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `voicedesignleftright`int(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `weaponinfoleftright`int(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `hudleftright` int(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notifysleftright`int(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `hud2coords` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `hudcoords` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notifyscoords` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `speedometercoords` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `eatdrinkcoords` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL, 
  `weaponinfocoords` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `bankinfocoords` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `interactioncoords` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `voicedesigncoords` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,   
  `adminotifycoords` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL, 
  `textdesigncoords` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `iddesigncoords` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `progressbarcoords` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `chatcoords` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `jobcoords` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`identifier`) USING BTREE,
  KEY `index` (`index`)
) ENGINE=InnoDB AUTO_INCREMENT=346 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
  1. For ESX 1.1 and 1.2 insert this in <es_extended> > <server> > <functions.lua> under ESX.GetPlayers

function ESX.GetExtendedPlayers(key, val)
	local xPlayers = {}
	for k, v in pairs(ESX.Players) do
		if key then
			if (key == 'job' and v.job.name == val) or v[key] == val then
				xPlayers[#xPlayers + 1] = v
			end
		else
			xPlayers[#xPlayers + 1] = v
		end
	end
	return xPlayers
end
  1. Restart the Server and play S-HUD on your Server!

Thats All! Enjoy the Script on your Server!

πŸ—ΊοΈ
πŸ› οΈ
Keymaster