Inventory
**@Weight 0KG / 30KG**
i need one progress bar in behind the writing
line this command:
if user_id ~= nil then
local data = vRP.getUserDataTable(user_id)
if data then
-- build inventory menu
local menudata = {name=lang.inventory.title(),css={top="75px",header_color="rgba(0,125,255,0.75)"}}
-- add inventory info
menudata["@ "..lang.inventory.info_weight({string.format("%.2f",vRP.getInventoryWeight(user_id)), vRP.getInventoryMaxWeight(user_id)})] = {function()end}
local kitems = {}
Example: