CONFIG
Below is the default configuration file used in Hydex-Bossmenu V2.
config.lua
Config = {}
Config.Framework = 'qb' -- qb or esx or qbx
Config.AdminAccessCommand = 'createbossmenu' -- command to createbossmenu ( for admins)
Config.Account = 'bank' -- bank or money (the account that we use for deosit and withdraw)
Config.Inventory = 'qb' -- (qb, ox are prebuilt configurations) ( check sv_function and cl_functions.lua for more info)
Config.PlayerLoadEvent = 'QBCore:Client:OnPlayerLoaded' -- (QBCore:Client:OnPlayerLoaded for qb and qbx) (esx:playerLoaded for esx)
Config.DefaultJob = { -- DefaultJob that set player fired
grade = 0,
name = 'unemployed'
}
Config.InventoryConfig = { -- inventory configuration
slot = 50, -- 50 slots
maxweight = 1000000, -- 1000kg
}
Config.PedConfig = { -- if u set ped enabled , then this config will be used
animation = {
enabled = true, -- if u set this to false, then ped will not play any animation
dict = 'amb@world_human_hang_out_street@male_a@idle_a', -- animation dict
anim = 'idle_d', -- animation name
}
}
Config.BossMenuSprites = { -- if u set ped disabled then this config will be used
enabled = true, -- if u set this to false, then bossmenu will not show any sprites
sprite = 21, -- sprite number https://docs.fivem.net/docs/game-references/markers/
color = { -- sprite color ( RGBA )
r = 255, -- red
g = 0, -- green
b = 0, -- blue
a = 255 -- alpha
},
scale = 0.6, -- sprite scale
bowUpandDown = true, -- if u set this to true, then sprite will move up and down
}
Config.Interaction = 'textui' -- textui, ox_target, qb-targetLast updated on