QBCore Framework

Yes I’m using the one that I get from my player table

hi all, on qbcore how to show all weapons? I just delete hudcomponents.lua then i use vmenu to give all weapon, all weapons show all on weapon wheel but when i chooses one, suddenly its gone all

hiya someone who can help me with the Taxi meter? only works for an NPC and not for players

Amazing <3

I dont have permissions table in SQL

can some one help me add a dealership to the qb-vehicle shop? i added the shop in the config file. cars show up but cannot swap cars TIA

2 Likes

Hi Monkcmonkdo2,

Great question, so to start with getting vehicles in the shop, you need to make sure that your server core files are reading the cars within the server.

To do this head over to:
QB-Core → Shared → Vehicles.lua

In the lua you should see some formating that looks like this below, we’ll use the Chevrolet ZR1 for this example:

[‘2019zr1’] = { – spawn code
[‘name’] = ‘ZR1’, – Model name of car
[‘brand’] = ‘Chevrolet’, – Brand of car
[‘model’] = ‘2019zr1’, – spawn code
[‘price’] = 110000, – The price you want this car
[‘category’] = ‘chevrolet’, – this would be the categories you have set up (default being sports, classic, muscle etc) we just have ours set for the car brand of vehicle it is, as we feel it’s a better look at it.
[‘hash’] = 2019zr1, – spawn code
[‘shop’] = ‘luxury’, – The shop you want it to be purchasable at (default is pdm)

If its any help you can copy and paste this into your file as a future reference the items in bold will void those comments in your preferred file reader (note++ or other) - Just be sure you change the vehicle details to your own custom car

Now to make things easier (or in my personal developing experience) I add all my custom cars to the bottom of this lua file, so that way when/if I want to add/remove any custom cars, I can find them easily enough.

Simply follow the bold details I’ve outlined, to get the spawn name, you’ll need to copy and paste the name inside your car stream folder, once you have filled in all of them, save your file, clear server cache and boot server back up and you should be good to go, I always advise anyone new to QB-Vehicleshop to take their time and add one car, then try it before adding multiple cars into the lua file.

Hope this helps,
SCRP Team

2 Likes

We use FiveM identifier over license, try this

add_principal identifier.fivem:FIVEMIDENTIFIER qbcore.admin #sunnyvalecityrpdev

1 Like

Check my recent comment, up 2 lines

how I stop script

We just posted our new documentation website! Hope you enjoy it! https://docs.qbcore.org/

3 Likes

does it have qbr-core included

looks to be just qb-core no worries / any news if qbr-core will get the same love?

It’s not far enough along to write effective documentation because things might change over time

hello having problems with my bossmenus none of them work can anyone help will pay for honest work done.

No need to pay, the boss menu is outdated, we now have qb-management resource.

I recommend installing a new version of QBCore, easiest way to do that is using the TxAdmin QBCore recipe!

Write stop resourcenamehere in console.

There’s no permission in my DB.

2 Likes

Can anyone help me with this error I am getting with the qb-garages script? iv added a few addon cars to my server and they load fine in the shop and i can store them ok but think error keeps coming up and i have to restart the server each time