ESX Server: 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".


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


Find spawn names

Then we have to find out the spawn's 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.

 

Important: 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.


Here we need the "name" column. We'll remember this one. Once we do that, we go to the "vehicles" table. And then go to Insert.


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

name - The name which is displayed in the shop.

model - Spawn name (make sure it is written in lowercase).

price - Price of the Vehicle.

category - Category we just picked out.


Facing Any Issues?

If you’re still having issues – don’t hesitate to reach out to our support team who are always more than happy to assist you with any queries/concerns you may have.

Haven’t got a FiveM™ server yet, or thinking about starting one? Here at Cyber Server Hosting, we offer premium hosting for great prices. If you’re unsure or need any help, contact a member of staff for sales assistance via support ticket or live chat.

Je li Vam ovaj odgovor pomogao?

Vezani članci

ESX Server: Become Admin Over The Database

Important: A character must be created by you, so that you can find it in the database....

ESX Server: Installing ESX

What is ESX? ESX (also known as es_extended) is an RPG Framework for FiveM™ server, a must-have...