[RELEASE] renzu_vehicleshop | Advanced Vehicle Shop

If anyone is looking to disable the radio while displaying cars at the shop you just need to add this code on you client.lua:

Citizen.CreateThread(function()

while true do

    Citizen.Wait(0)

    local vehicle = GetVehiclePedIsIn(GetPlayerPed(-1), false)

    SetVehicleRadioEnabled(vehicle, false)

end

end)


Hope it helps someone and thanks for this amazing vehicle shop, btw im still looking to disable weapon scroll wheel while being at the shop if anyone know any solution it would much appreciated :slight_smile:

2 Likes

CreateThread(function()

    while true do

        Wait(1)

        BlockWeaponWheelThisFrame()

        HideHudComponentThisFrame(19)

        HideHudComponentThisFrame(20)

        HideHudComponentThisFrame(17)

        DisableControlAction(0, 37, true) --Disable Tab
        end

    end

end)

Maybe this code Can help you

if i put more than 16 display cars on map , The function will can’t use on after 16 (e.g 17- 30) car (befor 16 car can use this function)
i am sorry for my bad english
image

Thanks for the code I’ll try it later today and will let you know if its works, much appreciated!

Iam having a problem with the the script dependency(I guess), let me show


and when I press ENTER

it shows like that
any fixes for this

1 Like

Sometimes when I log in using esx_multicharacter, the menu background (the shadow) of the html appears and only dissapear when I reload the script.
Sadly can’t reproduce it

1 Like

When you change the name of store

You should change the index name too
And it should be reigistred in shop column db.

Can you show me your config. For that shop.

@SumnDaiy
i think i know the cause of that.
you using latest one right.

I’m getting that consistently. New build of ESX Legacy with esx_multicharacter. It’s definitely this script as the problem goes away if I don’t start it.

The odd thing is, I updated the script 4 or 5 days ago but didn’t notice this start to happen until yesterday when I changed over from fivem-appearance to cui_character (if that makes any difference). I downloaded the latest code again today be am still having the same issue.

1 Like

this should prevent that

1 Like

wow that was quick! Thank you Renzuzu.

1 Like

How do I use my own vehicle column in the vehicleshop?

1 Like

just import the required new colums thats you are missing and you are done.

so the error persistes and it might be for the missing columns?


cuz I downloaded the script as original

can you show me your new vehicles table

if the config is edited you can also show it to me

yes, here is

i dont have idea unless we do print to your tests.
Do you see a Opening Vehicle Shop Notify?

"Opening Shop…Please wait…

1 Like

no it dont show when pressed

1 Like

looks like a popUI fault.

try downloading the latest

latest skin should be like this

image

OR

use the new config to use a Drawmarker only

Config.Marker = false – use draw marker and Iscontrollpress native , popui will not work if this is true

so it might be “THE FIX” right?

1 Like

we dont know unless you try.
i just see your using a different POPUI version.
i forgot if i fixed some issue there in Popui.

use the Config.Marker = true
to make sure the vehicleshop is working first to you