QBCore - Making Custom Shops Within Qb-Shops | Adding items to qb-shops | FiveM Tutorial 2023

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
foreign [Music] items to existing stores and how to add your own custom storage within the QB shops resource for the tutorial I'll be adding a pharmacy and I'll leave links in the description to the websites for pads blips icons and the scenarios when adding items to existing shops you need to figure out which shop you want to add the items to so the supermarket gun store hardware store or whatever you need to figure out what the item is called for the tutorial I'll be adding wine to the liquor store here's what it looks like now with the current items once everything is decided we're going to go to our server resources go to QB go down to Cubic Core shared and then we're going to open the items and once we're in here we're going to look for the item we want to add using Ctrl F so I'll do line and then we're going to go all the way over to the left and look for the name in the brackets after you found the item name we're going to go back to the QB section and we're going to scroll down until we see QB shops once we're in the QB shops folder we're going to go ahead and open the config file and once you're in here it's important to find the config.products for the shop that you'll be adding the item to so normal is for the 24 7 supermarkets and look here is the liquor store hardware is the hardware store so here under the liquor section we're going to copy whatever's last we're going to hit enter and we're going to paste the first thing we'll rename is the number so you can see it's one two three three we're gonna make this four and the name is the name of the item that we just found so it's going to be wine I'll make the price 10 I'll leave the amount the same I'm going to make sure we name a slot again the Master number in the bracket so once you've done that that's all you need to do we're gonna go ahead and go to file save and then either restart your server or start your server up and test it out all right we're back in the server and as you can see the liquor store now has you're telling me a fourth item which is the one now to add your custom store you need to decide what type of store you want to add and what products you want in the store to add the products you need to complete this step we previously did where we went to the items.lua and found the correct names so again we'll go to cubicor shared and we're going to open items now you can search for the items or look through if you don't know what you want so since I'm doing a pharmacy type thing I look for painkillers and normally everything is grouped into a section with common items so we'll do bandages ifacts and painkillers after you've decided everything we're gonna go back to the QB section we're going to go to QB shops and then we're going to open the config and once we're in here we're going to add the category and add the products we want to appear when players open the shop so I'll just copy this pre-made shop the liquor store I'm going to hit enter and I'm going to paste it from here we'll just rename it to whatever we want to be called and the items we want in there so I'll name this Pharmacy and we'll add bandages so bandage uh effects painkillers and I'll just put um wheelchair or something so once you're in here you can obviously change the price the amount you want in the store so once you have the amounts and the pricing figured out that's all we need to do up here next we're going to stay in the Kiwi shelves config and scroll down to the locations so we can add a location or multiple locations for our new shop so we'll keep going down here's where they start and we'll go down I'll do it after the liquor stores so we'll copy the one that's already here hit enter and then paste it from here again we'll rename it so we'll do Pharmacy this is just the name and the label is what shows up on the map so we'll do Pharmacy the chords is where the shop will be located at we'll do that in a second now for the next part the pad scenario Target and flips I did leave links in the description for that so if you need to pause and go look at that feel free to do so um we're gonna go to the site for the Peds and we're looking for one that matches the purpose of our shop so we'll do I'll do uh this one so we'll just copy this here go back and then we'll replace this shopkeep with what we just copied now scenario we can go to the scenario link and then here's what the scenarios are so we'll do a world human clipboard so just copy it again go back to the config and then we'll just paste this I'll leave the radius the same for the Target icons we're going to go to font awesome and you can search or just look up by the style so I'll do or okay there we go now once you find one you like just click on it I'll just do this one and then we're going to copy this so we're it says fast for shopping basket we'll just paste and then of course erase the stuff we don't need so from here and then from here now the target label is what it'll say when you use the third eye so let's do shop at privacy and in the config.products is what we made before what you put in the pink brackets so that was also Pharmacy now for the blip Sprite and the blips we'll go to the blip site and again look for something that matches the purpose of your shop or just put whatever you want so I'll do 51 that looks like a pill I think so we'll change this to 51. and then on that same site if you keep scrolling down it's where you can find all the colors if I can get to him so we'll do 27 purple why not and then we're going to keep this here go into the server and find a spot if you've already found a spot all you need to do is copy the chords all right so once from the server I'm in the spot where we want the pad to be we're going to do C admin we're gonna go down to developer options we're going to copy the vector 4. from here we're going to go back to the config and then where it says chords we're going to highlight this and then hit paste from there that's all you have to do we're going to hit file save and restart the server I forgot to add so if you're wanting to put multiple shops around the map all you need to do is copy the one you already made hit enter and paste and as you can see with the other pre-made swords when there are multiple these names are different so we'll put Pharmacy 2 here if you want everything to be the same you can leave that all you need to do is change the chords so again we can go into the server find a new spot for our second shop and go from there as you can see we're back in the server and the blips for our shops are showing up here's one and here's two they're also labeled properly so we're going to go into the shop and actually buy some stuff so I'm gonna throw it out of the pen and we'll buy bandage and painkiller you're right so everything's working perfectly and then we'll go to the other one all the way in the North so right on top of them okay here's the second one and everything's gonna be the same of course and this one works as well thank you for watching I hope this helped you out if you have any questions feel free to comment down below [Music]
Info
Channel: Kamaryn
Views: 18,191
Rating: undefined out of 5
Keywords:
Id: GCreIFcVcjc
Channel Id: undefined
Length: 9min 17sec (557 seconds)
Published: Sun Jan 29 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.