I need Weight bar inventory

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:
2222

1 Like

it will be a nice one where to put it?

in menu vrp Inventory

i put it there but it gives some kind of error in line 25

No man, I’m asking someone to do the job for me, this image is an example of how I wanted to