[RELEASE] renzu_vehicleshop | Advanced Vehicle Shop

add columns only one by one.

if its duplicate skip it

when i buy the vehicle its spawn i dont own the vechicle , and when i open the phone ther is car in garage

the problem is your carkey.

you need to trigger your car keys event

right now i wont support any modification.

you are using KEYS Script , asuming you should know how to add a custom event.

  • Sample

in next update maybe i will add a config for car keys script

1 Like


ammm … ok but i think not just the car keys script … becuse its not show in the data i tray to buy 5 cars or more to test

why did you send a qbcore carkeys when you are using a owned_vehicles?

i have included a carkey event at config
you can replace it with the carkeys event that you are currently using.

default is qbcore vehicle keys

1 Like

okay, i was able to import all. now if i buy a car it kicks me out of the vehicleshop and i still havent the car. here is the error

print the complete message, probably you missed some column

u mean this one ?

[  script:mysql-async] [MySQL] [ERROR] [renzu_vehicleshop] An error happens for query "INSERT INTO owned_vehicles (owner, plate, vehicle, `stored`, garage_id, `type`) VALUES (?, ?, ?, ?, ?, ?) : ["d677a72ff29f2730288169761833fe7d812d3042","SAU 336","{\"modXenon\":false,\"modRearBumper\":-1,\"modAerials\":-1,\"plateIndex\":0,\"windowTint\":-1,\"modFrame\":-1,\"bodyHealth\":1000.0,\"modBackWheels\":-1,\"tyreSmokeColor\":[255,255,255],\"neonColor\":[255,0,255],\"modSteeringWheel\":-1,\"modTank\":-1,\"tankHealth\":1000.0,\"modArchCover\":-1,\"modDashboard\":-1,\"modAirFilter\":-1,\"modShifterLeavers\":-1,\"plate\":\"SAU 336\",\"pearlescentColor\":51,\"rgb\":[8,8,8],\"dirtLevel\":7.0,\"modDial\":-1,\"rgb2\":[65,133,3],\"modHood\":-1,\"modSpoilers\":-1,\"modTrunk\":-1,\"modFender\":-1,\"modTrimB\":-1,\"modAPlate\":-1,\"modEngineBlock\":-1,\"modRightFender\":-1,\"modRoof\":-1,\"wheelColor\":55,\"modFrontWheels\":-1,\"neonEnabled\":[false,false,false,false],\"modStruts\":-1,\"modPlateHolder\":-1,\"wheels\":6,\"modTrimA\":-1,\"modWindows\":-1,\"engineHealth\":1000.0,\"modFrontBumper\":-1,\"color2\":55,\"modSeats\":-1,\"modOrnaments\":-1,\"modTransmission\":-1,\"xenonColor\":255,\"modExhaust\":-1,\"extras\":{\"6\":false,\"7\":true},\"modVanityPlate\":-1,\"modSideSkirt\":-1,\"model\":-140902153,\"modLivery\":-1,\"modHydrolic\":-1,\"modEngine\":-1,\"fuelLevel\":65.0,\"color1\":0,\"modGrille\":-1,\"modDoorSpeaker\":-1,\"modBrakes\":-1,\"modSmokeEnabled\":false,\"modSpeakers\":-1,\"modTurbo\":false,\"modArmor\":-1,\"modHorns\":-1,\"modSuspension\":-1}",1,"A","car"]": ER_DATA_TOO_LONG: Data too long for column 'owner' at row 1

you can try expanding your console… are you viewing via txadmin?

for better view

thank you i will tray it now :slightly_smiling_face:

1 Like

change owner VARCHAR to 64

ok i did following:

now im invisible and cant buy / own vehicle and the garage dont open

this is not related to vehicle shop

`

if you need installation help,

`
you can privately message me, its more efficient

hi how to set to buy cars with black money ?

you plan selling as illegal vehicle?

yes i want to make a car shop with illegal cars . and i have a problem i install the new version an i have an error this one

Make sure you updated the config too if your old version is very old.

 displaycars = {
            [1] = {model = 'jester3', value = 100000, coord = vector4(-47.427722930908,-1101.3747558594,25.714616775513,341.64694213867)},
            [2] = {model = 'fmj', value = 1000000, coord = vector4(-44.736125946045,-1094.1976318359,25.748092651367,158.2547454834)},
            [3] = {model = 'adder', value = 1000000, coord = vector4(-40.32751083374,-1095.6105957031,26.009906768799,158.58676147461)},
            [4] = {model = 'zentorno', value = 1000000, coord = vector4(-43.318450927734,-1102.1627197266,25.758722305298,340.29724121094)},
        }

This is what missing for pdm config or you probably misconfigured the vector4
The 4th one is heading.

About the black money lets see if i can add it soon

yes i fix it thanks :slight_smile: . so is possible to buy cars with black money ?