ak4y Development
TEBEXYOUTUBEDISCORD
  • 📖Welcome
  • INFORMATION
    • 🙋Discord Customer Role
    • ❓Tebex Script Integration
    • 🔐Setting Steam Api Key
    • 🔑CFX Auth System
    • 📭Lost Transaction ID
    • 🔓Escrow/Open Source
    • 😟You lack the required entitlement
  • SCRIPTS
    • ak4y-vipSystemv2
      • Manage Categories
      • Config
        • Translate
        • General Settings
        • Special Offer Category
        • Hot Deals Category
        • Buy Coin Category
        • Bundle Category
        • Customize Category
        • House Category
        • Job Category
        • Vehicle Category
        • Item Category
        • Money Category
        • Weapon Category
      • Triggers
      • Admin Commands
    • ak4y-hudv1
      • Build For Open Source
      • Setup Script
      • Config
      • Exports
    • ak4y-football
      • Known Errors
      • Setting Up
      • Config
    • ak4y-caseOpening
      • Config
    • ak4y-battlepass
      • Config
    • ak4y-vipSystem
      • Config
    • ak4y-playtimeshop
      • Config
    • ak4y-blackmarket
      • Config
    • ak4y-dailymissions
      • Config
    • ak4y-advancedFishing
      • Config
    • ak4y-pauseMenu
      • Config
    • ak4y-dailyRewards
      • Config
    • ak4y-jobSelector
      • Config
    • ak4y-advancedHunting
      • Config
    • ak4y-dice
      • Config
    • ak4y-dailyWheel
      • Config
    • ak4y-multicharacter
      • Config
    • ak4y-spawnSelector
      • Config
    • ak4y-kit
      • Config
    • ak4y-treasureHunting
      • Config
    • ak4y-garbageJob
      • Config
    • ak4y-pauseMenuV2
      • Copy of Config
Powered by GitBook
On this page
  • Let's download the requirements
  • Hunger and thirst needs
  • Script installation

Was this helpful?

  1. SCRIPTS
  2. ak4y-hudv1

Setup Script

PreviousBuild For Open SourceNextConfig

Last updated 7 months ago

Was this helpful?

Let's download the requirements

Download xsound from the link below and put it in the section where your server's scripts are located.

Hunger and thirst needs

You should set edible and drinkable medicines via esx_status or qb-smallresources scripts. Hud will automatically pull your values.

For the esx framework, you should use the esx_status script for things like hunger and thirst to work on your server. For the QBCore framework, the qb-smallresources script must be installed on your server. Make sure these scripts are installed


Script installation

  1. Paste the script you downloaded from Keymaster into the packages folder where your server files are located.

  2. Check the default settings of hud via Config

    1. If you are using a custom fuel script, set Config.UseCustomFuel to true and edit the contents of the Config.CustomFuel function just below.

    2. Edit the url of the Config.ServerLogo variable to change your Server Logo.

    3. Edit the Config.Inventory variable for interactions with your inventory

    4. If you want the photo of the weapon you have on the watermark to appear without errors; edit the contents of the Config.InventoryImagePath function. ( nui:// inv script name / image folder / )

    5. Select your default notify structure via the Config.NotifyEvent variable according to the infrastructure you are using

  3. If you wish, you can integrate your custom notify script via Config.Notify function

  4. After all checks, ensure xsound and ak4y-hudv1 scripts via server.cfg

Remember! The script will not work correctly if it is restarted in-game. You must exit and enter the game after the script is restarted.

GitHub - Xogy/xsound: Improved audio library for FiveMGitHub
Logo