made these shops using nh-context, nh-keyboard to select the amount, notification by default use mythic notify you will also need qtarget or bt-target depending on what you use set the config option, you can add more items if you check the client and server code really easy also included some images for the items if you want to use them
Requirements
update
added illegal items seller
made a clean up of the code( less lines)
now you can change item names and price from config file
installation
make sure you have all dependencies
go to nh-context client.lua and replace the first nuicallback to look like this
RegisterNUICallback(âdataPostâ, function(data, cb)
SetNuiFocus(false)
TriggerEvent(data.event, data.args, data.arg2, data.arg3)
cb('ok')
end)
image:
Video: Night_shops
DOWLOAD
8 Likes
Glad you got it working big pimpin good job and nice release
2 Likes
Another great release I canât wait to put this in my server
1 Like
can u send me ur inventory
just to let you know you forgot to put
ESX = nil
TriggerEvent(âesx:getSharedObjectâ, function(obj) ESX = obj end)
at the top of your server.lua
Is there a way I can get the type of Inventoryhud you have please?
chickk
August 9, 2021, 2:44pm
9
+rep, Nice And Clean UI Loved it.
that doesnt work @SkellyKat_Gaming
Pural
August 10, 2021, 12:53am
11
Itâs linden invetory with edited css by me
1 Like
Matt35
August 10, 2021, 4:10pm
13
nothing appears when I hover over him
What target you using qtarget or bt-target ?
Change the option on config to bt-target by default it works for qtarget
Matt35
August 11, 2021, 5:28am
18
When ever I try to buy stuff it says its too heavy
Maybe you donât have space in your inventory I made the check for weight
Matt35
August 11, 2021, 2:49pm
21
is it mean to be only one shop?
One for grocery and the other one for liquor