[RELEASE] Shop interface for vRP/vRPEX

[EN] (Sorry for English)
Hi guys, today I’m going to share with you a script that I created to improve GTA stores

With it your server will have a more beautiful interface to show the items available for sales, works for any store (Ammunation, Conveniences and etc.)

To configure the stores, you only need to edit the config.lua file. In the github repository there is a detailed explanation.

I will make some more improvements, being:

  • Items directly through the database
  • Stock of items, being replenished at a certain time in the city

Github Repo:

SCREEN SHOTS

Update (21/08/2020)

Hi guys, I received some reports of problems related to buying items or not opening the menu. I found that most use Dunko’s vRP, so I added a new version of that script to this version.

‘galvao_shop’ has been added for each version of the vRP (Dunko, ImagicTheCat). Choose the folder for the vRP version you use.
If you don’t know, try to use one at a time.

6 Likes

1 Like

Are you using vRP, Which version? Because this line load the vRP Resources

Yes, use VRP

What version of vRP are you using?

You add the start galvao_shop after the vrp?
Like:

....
start vrp
....
start galvao_shop

me too i have the same problem
and i already start it like this

1 Like

i get this when i buy items https://prnt.sc/u30mhv

in which line this error show? add more information please!

The future place for the machine inventory is still under development

Nice, i have use this in inventorys too

Hi, I get that error too, it seems to be something with either the function in server.lua or the call of the function galvaoShop.buyItem in client.lua under line 38 inside the RegisterNUICallback. If I comment that out, whenever I click an item in the shop it won’t post any error,however I cannot buy anything from the shop because of that error.

1 Like

Thanks, I will check if I find the error and post an update today!

1 Like

Update (21/08/2020)

Hi guys, I received some reports of problems related to buying items or not opening the menu. I found that most use Dunko’s vRP, so I added a new version of that script to this version.

‘galvao_shop’ has been added for each version of the vRP (Dunko, ImagicTheCat). Choose the folder for the vRP version you use.
If you don’t know, try to use one at a time.

2 Likes

Thank you mate. Works flawlessly now

1 Like

Great Script :slight_smile:

1 Like

tengo este error