Skip to main content

FiveM: Adding cars to the shop

Access to the database

First of all we have to connect to our database. We do this under the tab "Databases"

image

There we click on the blue icon and log in with our data, which we also find on the page.

image

Find spawn names

Then we have to find out the spawn name of the car. We can do this by simply trying around or by browsing through the following page: https://wiki.gtanet.work/index.php?title=Vehicle_Models

Add new vehicle

Once we have chosen a car, we can add it to the list.

info

By default there are a lot of cars already in the car shop. See if your car is already listed.

First of all we check the car categories. So we know which ones we can add. We do this in the "vehicle_categories table

image

Here we need the "name" column. We'll remember this one.

image

Once we do that, we go to the "vehicles" table. And then go to Insert

image

Now we add a new vehicle. A short explanation what stands for what:

name The name which is displayed in the shop model Spawn name (make sure it is written in lower case) price Price of the Vehicle category Category we just picked out

Ich habe hier noch ein kleines Beispiel für euch:

image