same problemi'm not getting any errors in the console or anything, the only issue i'm having is when i walk up to buy a shop, it doesn't give me the option if i want to buy the shop or not, i just press "E" on the icon, and the menu opens up, no one else is able to open the menu once i open it, and i can only do it at one shop. nor do i see a place that would allow me to set it for someone to own more than one store. can anyone help?
im with the same insue but my menu dont open x) i press E on buy shop, but he dont open. 0 errors herei'm not getting any errors in the console or anything, the only issue i'm having is when i walk up to buy a shop, it doesn't give me the option if i want to buy the shop or not, i just press "E" on the icon, and the menu opens up, no one else is able to open the menu once i open it, and i can only do it at one shop. nor do i see a place that would allow me to set it for someone to own more than one store. can anyone help?
local ok = vRP.request(source,Lang[Config.lang]['buy_message']:format(price), 30)
Literally all you have to do to make this work with the UI is go in to the server.lua and change line 4 from thisSame problem as tuf_lipton and nik24:
It has something to do with the lines that are excluded in the server.lua. (lines: 41,42 end 60).
When removing the (--) so include the lines i get this error when pushing E in the store:
[ script:esx_stores] SCRIPT ERROR: @esx_stores/server.lua:41: attempt to index a nil value (global 'vRP')
The line in question:
Code:local ok = vRP.request(source,Lang[Config.lang]['buy_message']:format(price), 30)
I think this was a VRP script and this line needs to be translated. Hope someon can help..
If you walk to a store and you have enought money you will buy it directly without any question.
When a person hasn't enough money the script freezes and needs to be restarted not desirable
Thank you for your reply!Literally all you have to do to make this work with the UI is go in to the server.lua and change line 4 from this
local vrp_ready = nil
to this
local vrp_ready = true
save and reload the script! I had the same problem and this fixed it for me
[ script:esx_stores] SCRIPT ERROR: @esx_stores/server.lua:41: attempt to index a nil value (global 'vRP')
We get it, advertisements are annoying!
Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.