[RELEASE] renzu_vehicleshop | Advanced Vehicle Shop

have you using oxmysql?

1 Like

No im using mysql-async

if you put them here do you check a grades?

['Police Vehicle Shop'] = { -- same with name
    name = "Police Vehicle Shop", --MRPD police shop
    title = "Police Vehicle Shop",
    icon = 'https://i.imgur.com/t1OPuVL.png',
    job = 'police',
    type = 'carshop',
    default_garage = 'Police Garage',
    Dist = 3, -- distance (DEPRECATED)
    Blip = {color = 38, sprite = 662, scale = 0.9},
    shop_x = 456.89453125,
    shop_y = -1020.8922729492,
    shop_z = 28.290912628174, -- coordinates for this garage
    spawn_x = 449.27224731445,
    spawn_y = -1025.3255615234,
    spawn_z = 27.905115127563,
    heading = 2.6015937328339, -- Vehicle spawn location
    plateprefix = 'LSPD', -- carefull using this, maximum should be 4, recommended is 3, use this only for limited vehicles, if you use this parameter in other shop, you might have a limited plates available, ex. LSPD1234 (max char of plate is 8) it means you only have 9999 vehicles possible with this LSPD
    shop = { -- if not vehicle is setup in Database SQL, we will use this
        {shop='Police Vehicle Shop',category='Police Sedan',stock=50,price=100000,model='police',name="Police Car", grade = 1},
        {shop='Police Vehicle Shop',category='Police Sedan',stock=50,price=100000,model='police2',name="Police 2", grade = 1},
        {shop='Police Vehicle Shop',category='Police Sedan',stock=50,price=100000,model='police4',name="Police 4", grade = 3},
        {shop='Police Vehicle Shop',category='Police SUVs',stock=50,price=100000,model='police3',name="Police SUV",grade = 5},
    },
},

Yes i just copy and pasted then changed the car models part

Is there a way to make the garage less bright?

hey when my guys buy a vehicle the display is stuck on the screen how can i get it to come off after buying a car,truck etc.

and the vehicles dont save to the buyer we use qbcore

Hi, well I tried to use the shop. When I try to open the shop it doesn’t open. The error message that appears is this :

EDIT: Turns out if I just delete “( image = img, )” in the client.lua it works just fine.

hey there im using qbcore and using renzu_garages and vehicle shop .im getting this error in console …https://gyazo.com/0bc6b511cc44881492a6c8ac130ceae1

1 Like

Hi,


how to make it just a category not by brand

1 Like

Hi, sorry to bother, and sorry if this has been allready asked, but how can i change the UI interface language ? Because like the work PRIMARY is not in my language and it’s not good looking… i tried looking for PopUI like u said in one of ur post but i didn’t find PRIMARY or one of the other works…
Hope you can help me, by the way that’s a realy realy good job !

Have a nice day :wink:

2 Likes

help me :slight_smile: pls


image
I gave true in the config to Config.CustomImg = true and put Config.CustomImgColumn = ‘imglink’, but in the vehicles table I created imglink, put the car model and the image doesn’t appear. can someone help me?

Save your images locally and use this path in the ‘imglink’ column: imgs/uploads/MODEL.jpg

Im getting this weird error after trying to change the prices @Renzuzu

hey im running esx 1.1 seems like it dont work ?

is this not working with 1.1 ?

Hi I have a different question…how to get there the brand with logo??

Thanks

Hello , i have this problem ,please help me…

[ script:oxmysql] [ERROR] renzu_vehicleshop was unable to execute a query!
[ script:oxmysql] Column ‘vehicle’ specified twice
[ script:oxmysql] INSERT INTO player_vehicles (license, plate, mods, state, job, garage, vehicle, vehicle,hash, citizenid) VALUES (‘license:2aeba97cc6679e8d89924777c749f016a2b78711’, ‘PPY 322’, ‘{“dirtLevel”:9.0,“modSeats”:-1,“plateIndex”:0,“xenonColor”:255,“modWindows”:-1,“modDial”:-1,“color2”:29,“engineHealth”:1000.0,“modTrimA”:-1,“fuelLevel”:60.0,“modTank”:-1,“rgb2”:[107,0,0],“modFender”:-1,“modOrnaments”:-1,“wheelColor”:156,“modTransmission”:-1,“windowTint”:-1,“plate”:“PPY 322”,“modFrame”:-1,“bodyHealth”:1000.0,“modTrunk”:-1,“modTrimB”:-1,“modSpeakers”:-1,“modPlateHolder”:-1,“modSuspension”:-1,“extras”:[],“modRearBumper”:-1,“color1”:0,“modSideSkirt”:-1,“modFrontWheels”:-1,“neonEnabled”:[false,false,false,false],“modAirFilter”:-1,“modDashboard”:-1,“modRightFender”:-1,“modEngineBlock”:-1,“modHood”:-1,“modStruts”:-1,“modShifterLeavers”:-1,“neonColor”:[255,0,255],“rgb”:[8,8,8],“modAPlate”:-1,“modBackWheels”:-1,“modHorns”:-1,“modSmokeEnabled”:false,“modBrakes”:-1,“modSteeringWheel”:-1,“pearlescentColor”:1,“modLivery”:-1,“modHydrolic”:-1,“modXenon”:false,“modSpoilers”:-1,“model”:296357396,“tankHealth”:1000.0,“modDoorSpeaker”:-1,“modTurbo”:false,“wheels”:1,“modGrille”:-1,“modAerials”:-1,“modExhaust”:-1,“modArmor”:-1,“modFrontBumper”:-1,“tyreSmokeColor”:[255,255,255],“modEngine”:-1,“modVanityPlate”:-1,“modArchCover”:-1,“modRoof”:-1}’, 1, false, ‘A’, ‘gburrito2’, ‘gburrito2’, ‘296357396’, ‘YLQ82506’)

Hey. I have a little Problem.

Always if i buy a Vehicle in the Policejob. its registred as CIV in the datrabase.

anyone knows a way to fix that?

ESX 1.1 MYSQL 8.0+

NVM it works. i thought police officer can own that vehicle but got a extra garage, but only in the police public garage it writes police

I can add vehicles and buy them and everything works fine but it doesn’t actually give ownership when bought. config says : [ script:oxmysql] [ERROR] renzu_vehicleshop was unable to execute a query!
[ script:oxmysql] Column ‘vehicle’ specified twice
[ script:oxmysql] INSERT INTO player_vehicles (license, plate, mods, state, job, garage, vehicle, vehicle,hash, citizenid) VALUES (‘license:3c64818812a8074a9485b70667ce373121d07d8b’, ‘GUR 856’, ‘{“modHorns”:-1,“plate”:“GUR 856”,“modFrame”:-1,“modRoof”:-1,“modTank”:-1,“modFender”:-1,“modSpoilers”:-1,“wheels”:6,“modExhaust”:-1,“model”:2092873772,“engineHealth”:1000.0,“modSeats”:-1,“modEngineBlock”:-1,“modWindows”:-1,“modSuspension”:-1,“modFrontBumper”:-1,“modFrontWheels”:-1,“tyreSmokeColor”:[255,255,255],“rgb”:[5,5,5],“modStruts”:-1,“fuelLevel”:65.0,“modVanityPlate”:-1,“tankHealth”:1000.0,“modSteeringWheel”:-1,“modDashboard”:-1,“neonEnabled”:[false,false,false,false],“modHood”:-1,“modAPlate”:-1,“modDoorSpeaker”:-1,“extras”:[],“modHydrolic”:-1,“modAirFilter”:-1,“modEngine”:-1,“modAerials”:-1,“modTransmission”:-1,“modTrimB”:-1,“modRearBumper”:-1,“pearlescentColor”:0,“modShifterLeavers”:-1,“color2”:0,“neonColor”:[255,0,255],“color1”:12,“modSpeakers”:-1,“modSmokeEnabled”:false,“plateIndex”:0,“xenonColor”:255,“modTrimA”:-1,“modTurbo”:false,“rgb2”:[8,8,8],“modTrunk”:-1,“modBrakes”:-1,“modGrille”:-1,“modRightFender”:-1,“wheelColor”:0,“modBackWheels”:-1,“windowTint”:-1,“modOrnaments”:-1,“modArchCover”:-1,“modXenon”:false,“bodyHealth”:1000.0,“modArmor”:-1,“dirtLevel”:8.0,“modSideSkirt”:-1,“modLivery”:3,“modDial”:-1,“modPlateHolder”:-1}’, 1, false, ‘A’, ‘r25’, ‘r25’, ‘2092873772’, ‘LMP70201’)