#Qb-Vehicleshop & Qb-Garages

1 messages · Page 1 of 1 (latest)

jaunty chasm
#

So Ive been having an issue with my Dealership and Garages, when I want to buy a vehicle from the dealership and buy it then go to my garages to store it, it says 'this vehicle cannot be stored' need some help figuring it out

jaunty chasm
#

Also when Importing the SQL for qb-vehicleshop is shows an error

waxen oasisBOT
#
📝 Support Request Template

Please fill out the following fields with maximum effort. Low-effort posts will receive low-effort responses.

💻 Script Name

Provide the name of the script you're having trouble with.

❗ Error

Paste the exact error message you received. Ignore this if no error. (Check client (F8) and server (Tx) console)

🛠️ Issue Description

Describe the issue you're experiencing in detail.

🔄 Recent Changes

List the last changes you made before this issue occurred.

🔧 Troubleshooting Steps

Explain what steps you've already taken to try and fix this.

📹 Screenshots / Video

Include any relevant screenshots or recordings.

spice steeple
jaunty chasm
spice steeple
#

Delete your entire player_vehicles table and run the whole sql file again

jaunty chasm
#

Ive done that already like 5 times and still the same thing

spice steeple
jaunty chasm
spice steeple
#

Impossible.

#

You must not be dropping the table

jaunty chasm
#

I'll redo it for you right now and I'll send you another screenshot

spice steeple
#

Maybe send a video of how youre dropping the table

jaunty chasm
spice steeple
#

Ok so you are getting a different error not the same error

jaunty chasm
#

Yeh I dont understand why though

spice steeple
#

Click on details and please send a photo of what it says

jaunty chasm
spice steeple
#

Also on a completely different and unrelated note, I would recommend changing your tag from "advanced" to probably "intermediate"

jaunty chasm
#

When it comes to this sort of stuff its complicated anything else Im an expert 😂

spice steeple
#

run this in phpmyadmin

#

DROP TABLE IF EXISTS player_vehicles;

CREATE TABLE player_vehicles (
id int(11) NOT NULL AUTO_INCREMENT,
license varchar(50) DEFAULT NULL,
citizenid varchar(50) DEFAULT NULL,
vehicle varchar(50) DEFAULT NULL,
hash varchar(50) DEFAULT NULL,
mods text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
plate varchar(15) NOT NULL,
fakeplate varchar(50) DEFAULT NULL,
garage varchar(50) DEFAULT 'pillboxgarage',
fuel int(11) DEFAULT 100,
engine float DEFAULT 1000,
body float DEFAULT 1000,
state int(11) DEFAULT 1,
depotprice int(11) NOT NULL DEFAULT 0,
drivingdistance int(50) DEFAULT NULL,
status text DEFAULT NULL,
balance int(11) NOT NULL DEFAULT 0,
paymentamount int(11) NOT NULL DEFAULT 0,
paymentsleft int(11) NOT NULL DEFAULT 0,
financetime int(11) NOT NULL DEFAULT 0,
PRIMARY KEY (id),
UNIQUE KEY UK_playervehicles_plate (plate),
KEY citizenid (citizenid),
KEY license (license)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

jaunty chasm
#

Where am I putting that exactly

spice steeple
#

click sql

jaunty chasm
#

Ahh right

#

Then copy and paste yeh

spice steeple
#

yep

jaunty chasm
spice steeple
#

ok so now restart your server

jaunty chasm
#

If you have fixed this problem now Im gonna be over the moon

spice steeple
#

and then try again 🙂

jaunty chasm
#

Right so I can buy it fine but when it comes to storing the vehicle it just says 'the vehicle is not yours'

spice steeple
#

any f8 errors or console errors?

is this a fresh install?

#

One of your issues that may not be present atm is using zap. I would avoid using them as they're quality of service is poor.

jaunty chasm
spice steeple
#

What are the errors?

jaunty chasm
#

wasabi scripts thats all but I can fix those

spice steeple
#

When did u do this install of qb?

jaunty chasm
#

Well we reinstalled the server this morning

spice steeple
#

Ok so I've just tested on my install that I did 2 days ago and it's working perfectly.

#

You must have installed this incorrectly.

jaunty chasm
#

Ive done it a million times and its worked perfectly fine

spice steeple
#

It's obvious that something is wrong on your end. I would try a fresh install first before doing anything else

#

Test then without any other scripts etc

jaunty chasm
#

Ok I will do that now and let you know when Ive done

#

Which one would you recommend because Ive been using the top one

spice steeple
#

Do the one that zap says

#

I would avoid using zap but thats just me

jaunty chasm
#

Now ive got to wait for this

#

Does this all the time lol

jaunty chasm
#

So it took me a while to get the server reinstalled but the garages work now so do you think it could be one of my scripts in the server

spice steeple
#

Probably the errors you were saying before conflicting. Or you installed it incorrectly

#

But without looking and seeing what the errors were or what scripts you had it’s impossible for me to confirm

jaunty chasm
#

I need help again

#

The cars still wont store after I added my scripts in

spice steeple
#

So remove your scripts and go one by one