π What needs to be done for installation#
Below are some important types and installation contents.
- Do not change the name of the script
- Take care to start the script manually after your core.
- You will also need ox_lib and xsound scripts!
# Your ox scripts
ensure [core]
# Your other orders
ensure xsound
ensure wais-hudv6
This is the layout and appearance that should be in the Server.cfg file.
- After downloading xsound, go to the sounds folder in wais-hudv6/sounds and copy the sounds.
- then drop the copied sound files into the
xsound > html > soundsfolder. - Next, navigate to the
xsound/config.luafile, locate the variableconfig.interact_sound_enable = false, and change the value fromfalsetotrue.
π Framework Settings#
Hud works standalone. It can define and operate popular frameworks within itself. Now you're ready, you can start using the hud.
If you are using an older version of Esx or Qbcore, see what needs to be done below.
ESX integration with SharedObject Event ( FOR OLD VERSION ESX )#
Config.Framework = {
["Framework"] = "esx", -- auto, esx, qbcore or qbox
["ResourceName"] = "es_extended ", -- auto, es_extended or qb-core or your resource name. If you using qbx you should write qb-core
["SharedEvent"] = "esx:getSharedObject" -- Event name for old cores.
}
QBCORE integration with SharedObject Event ( FOR OLD VERSION QBCORE )#
Config.Framework = {
["Framework"] = "qbcore", -- auto, esx, qbcore or qbox
["ResourceName"] = "qb-core", -- auto, es_extended or qb-core or your resource name. If you using qbx you should write qb-core
["SharedEvent"] = "qb-core:getSharedObject" -- Event name for old cores.
}
After writing the SharedObject event and specifying the framework type, restart the script. Check your console.
If you are using a custom framework, click to integrate