[FREE RELEASE] [vRP] Inventory Hud | Hotbar & more, secure and well coded!

Hi there! Today I am releasing my edit of Trsak’s inventory for vRP.

Features

  • Hotbar
  • Glovebox
  • Drops (REQUIRE ONESYNC ENABLED)
  • Drag and drop
  • Well coded
  • Secure
  • Chest support. Configure them in config.lua
  • Trunks are now avaible! Press F1 near your personal vehicle and the trunk will open.
  • Shops
  • Loot nearest player in coma or handcuffed

Installation
Please follow the instructions present in the readme on github

Preview
  • Inventory
    Inventory
  • Hotbar
    Hotbar
  • Chest
    Chest
  • Trunk
    Trunk
  • Shop
    Shop

Download now: Github

10 Likes

What has been changed of this?

There is already a vRP inventory based on his:

:rofl:

1 Like

Mine is maintained, better coded, doesn’t require big vRP changes, has standalone chests support and soon will have shops support. Next time check your self before annoying people

do you have a ETA on the shop support?

Maybe in 1-3 days

1 Like

what about adding ask for opening trunk so isn’t in the K or F9 Menu

I’ll add it. Right now is missing.

1 Like

Thanks! Good to see that vRP is still alive in this community!

1 Like

UPDATE v1.3

  • Now you can ask to open the trunk of the nearest player’s vehicle
1 Like

UPDATE v1.4

  • Shops are now avaible!
  • Fixed weapon and ammo images.

i just have one question have do the items get the images?

From the html/img folder.

iknow but iam not sure where do i type the item names so it can get images?

You need to name your image like the spawn name of the item, so for the water item the image should be water.png and so on

1 Like

i have an idea mby do so the items need to be in the config

I can work on that

when i use the inventory and trying to use an item i am getting this box up and the inventory is fucked after
image

Go to modules/inventory.lua and delete these lines (168-169):


choices[lang.inventory.give.title()] = {function(player,choice) ch_give(idname, player, choice) end, lang.inventory.give.description()}
choices[lang.inventory.trash.title()] = {function(player, choice) ch_trash(idname, player, choice) end, lang.inventory.trash.description()}

okay mby throw it in the readme