Setup Script
Last updated
Last updated
Download xsound from the link below and put it in the section where your server's scripts are located.
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
Paste the script you downloaded from Keymaster into the packages folder where your server files are located.
Check the default settings of hud via Config
If you are using a custom fuel script, set Config.UseCustomFuel to true and edit the contents of the Config.CustomFuel function just below.
Edit the url of the Config.ServerLogo variable to change your Server Logo.
Edit the Config.Inventory variable for interactions with your inventory
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 / )
Select your default notify structure via the Config.NotifyEvent variable according to the infrastructure you are using
If you wish, you can integrate your custom notify script via Config.Notify function
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.