Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Solve qbcore color change #65

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Solve qbcore color change #65

wants to merge 1 commit into from

Conversation

FlexBuf
Copy link

@FlexBuf FlexBuf commented Aug 6, 2022

No description provided.

@UnluckyLV
Copy link

Hello, I got problem with colors too- I can't change vehicle color that I purchase from shop. Does it gonna be fixed? :)

@FlexBuf
Copy link
Author

FlexBuf commented May 4, 2023

Hello, I got problem with colors too- I can't change vehicle color that I purchase from shop. Does it gonna be fixed? :)

do you use qb-core? Esx?

What dealer system do you use?

@UnluckyLV
Copy link

Hello, I use qbcore, what do you mean dealer system? I use renzu vehicleshop, and after buying the vehicle, I can't change it's colors, like it's changes from metal to mat, but changing colors gives nothing. When I spawn vehicle with admin menu, I can fully change the colors.

@FlexBuf
Copy link
Author

FlexBuf commented May 4, 2023

Hello, I use qbcore, what do you mean dealer system? I use renzu vehicleshop, and after buying the vehicle, I can't change it's colors, like it's changes from metal to mat, but changing colors gives nothing. When I spawn vehicle with admin menu, I can fully change the colors.

If you can't change the color of the vehicle at the Renzu dealership, don't worry, just change the color later from a mechanical tuning menu, that's the important thing.

try that it works

@UnluckyLV
Copy link

That wouldn't be a problem, main problem is that I can't change it with tuning menu. When I spawn vehicle using admin menu, I can do it, but when I buy the vehicle, I can't do it with same admin menu.

@FlexBuf
Copy link
Author

FlexBuf commented May 4, 2023

That wouldn't be a problem, main problem is that I can't change it with tuning menu. When I spawn vehicle using admin menu, I can do it, but when I buy the vehicle, I can't do it with same admin menu.

you must identify these 2 lines in client/client.lua:
find them at renzu vehicle shop and comment or delete

if props.rgb then SetVehicleCustomPrimaryColour(vehicle, props.rgb[1], props.rgb[2], props.rgb[3]) end
if props.rgb2 then SetVehicleCustomSecondaryColour(vehicle, props.rgb2[1], props.rgb2[2], props.rgb2[3]) end

@UnluckyLV
Copy link

ok, will test it and will post here if it worked :)

@UnluckyLV
Copy link

It works, thank you very much!

@Ljdunn15
Copy link

Ljdunn15 commented May 7, 2023

I use esx but wen I buy a car it says you dnt own it

@FlexBuf
Copy link
Author

FlexBuf commented May 9, 2023

I use esx but wen I buy a car it says you dnt own it

i give support only qb-core

@Cruce2882
Copy link

ok i have a question what coords do i need to use to make new dealerships in renzu vehicleshop i have tried all of them and nothing what i mean on this part of the script

Blip = {color = 38, sprite = 595, scale = 0.9},
shop_x = 127.02,
shop_y = -150.91,
shop_z = 54.8, -- coordinates for this garage
spawn_x = -32.283363342285,
spawn_y = -1091.0841064453,
spawn_z = 25.749485015869,
heading = 340.23065185547, -- Vehicle spawn location,

i need to know if the x.y.z is a vector 3 or a vector 4 what do i need to use for this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants