[vRP] Script collection (vrp_hud_inventory, vrp_cards, vrp_business ...)

Thanks, worked .
Also great job on the inventory script

getting errors when i open the inventory and i cant close the inventory

I’ve done all the steps and its still giving me errors

anyone have a solution to this problem?

Hey i am having a problem with a like pop up menu coming op thats asking me how much ammo i wanna put in my gun and after that the screen is frosen and i cant move i tracked the problem to vRP/vRP/cfg/regular or something like that and i think its something one of the prompt lines can you help?

I fixed mine by just adding some code to read if gun names are

wbody|WEAPON_CARBINERIFLE

checks that and then reads if there is wbody_WEAPON_CARBINERIFLE in imgs and that’s how i fixed it here is my inventory.js file
inventory.js (10.6 KB)

Yes i also have this problem. Did you find out what caused it?

please tell me there a setup guide cuz i dont understand jack’o pose from that read me like

  • Add some necessary functions to the vrp\modules\inventory.lua file as below:what part and where and im confussed pls help me

cant access it
:frowning:

[https://cdn.discordapp.com/attachments/789931934461198336/922524371757711450/unknown.png]
so i got everything to work but the png’s i really dont understand if im supposed to add ‘html/img/items/agua.png’
‘html/img/items/nuggets.png’

and so on or what its very confusing
oh and btw i have tried local cfgItem = module(“cfg/police”)
but xOnlyFadi also made a inventory.js but i cant download it :frowning:

I fixed the problem here is the file
just go to the js directory and download the inventory.js

link not working please resend it @xOnlyFadi

Hi When i try to open the inventory it dosent show anything just the cursor