[RELEASE] renzu_vehicleshop | Advanced Vehicle Shop

your qbcore version must have this

exports['qb-core']:GetSharedObject()

it seems your using old version of qbcore?

you can edit the /framework/sv_wrapper and cl_wrapper

to adapt your oldqb version

1 Like

srr but i change in sv_wrapper and cl_wrapper and have the same error

Show me the codes, you can dm me

SQL Doesnt work for me =(

/* Erro SQL (1064): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘–ADD THIS TO YOUR TABLE IF YOU DO NOT HAVE A OWNED_VEHICLES TABLE ALREADY.
C…’ at line 1 /
/
Erro SQL (1064): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '–ADD THIS TO YOUR TABLE IF YOU DO NOT HAVE this column.

ALTER TABLE vehicle…’ at line 1 /
/
Erro SQL (1064): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '–ADD THIS TO YOUR TABLE IF YOU DO NOT HAVE this column.

ALTER TABLE vehicle…’ at line 1 /
/
Erro SQL (1064): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '–ADD THIS TO YOUR TABLE IF YOU DO NOT HAVE this column.

ALTER TABLE owned_v…’ at line 1 /
/
Erro SQL (1064): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '–ADD THIS TO YOUR TABLE IF YOU DO NOT HAVE this column.

ALTER TABLE owned_v…’ at line 1 /
/
Erro SQL (1064): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '–ADD THIS TO YOUR TABLE IF YOU DO NOT HAVE this column.

–ADD THIS TO YOUR …’ at line 1 /
/
Erro SQL (1064): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '–ADD THIS TO YOUR TABLE IF YOU DO NOT HAVE this column.

ALTER TABLE owned_v…’ at line 1 /
/
File “vehicleshop.sql” executed, with 419 queries and 411 affected rows /
/
1 file(s) processed, in 00:00:04.0 */

Import sql files one by one specially the columns
Your error shows you miss installing sql

where I can add the function to enter the temp key in the test drive option

some help to make my key script give you the keys when a vehicle is spawned in the test area ?? Please

There is a config for that to pass the plate to your custom key system

1 Like

Hey, I tried installing your vehicle shop, and when i open the shop, no vehicles load, i’m unable to change categories, and I can’t buy or test drive anything, huge fan of your work so far though

common errors came from incomplete SQL columns installation
and folder name must be renzu_vehicleshop

i dont provide support here anymore
if you want you can go to my github and open a issue

Yes, I put it, but when I try to test a vehicle it does not give me the key to test the vehicles

[Renzuzu] hi bro this vehicle shop not work for me maybe have problem with sql ? or what ?

What framework is this?

@MonsterGaming

Install sql column one by one

@UltraAdmin
Seems your config is correct

Posible reason is plate formats between this shop and your garage. Conflicts

1 Like

okay, thanks, I’ll check … another question, the option to sell the vehicle. even when sold, the vehicle remains in the garage after the sale. I use the cd_garage

whats your plate format?

the key system I use is included in cd_garage. and here you have the 2 functions. But what is strange to me is that when I buy the vehicle, if he gives me a key. it’s only when i try to prove it

1 Like

Thats why its not working…

Your garage trim the spaces

The vehicleshop plate generation
Have space in between the strings
Like ABC 123

Your garage probably read it as ABC123 (not sure).

1 Like

the garage, has the function of putting the plates, with or without space. and I activate it with space. currently. but the only way he gives me the keys when I go to buy the vehicle is by entering the event key also in the server.lua line 252 of his vehicle store.

and the vehicles that I have in the garage currently stored, are with a plate with space

1 Like

If you want more support go to my github.

I dont actually support here in forums anymore unless
its easy to mitigate.

But complex like this due to another script integration and customisation you can open a github issue.

Final message:

I honestly suggest you to open a ticket in cd.

Your code to trigger the event from server to client keys (cd) is quite right. (Just change the plate to props.plate)

If something not working it should be there not in the vehicleshop.

Good luck