Hiroszek

[HELP] Car model for only 1 car?

Recommended Posts

How can i replace model for only 1 car? Not for all of them.

 

for example.

i got 2 perennials, i want to make first in sedan and second in coupe, and i want to spawn two in the same time.

Share this post


Link to post

vehicle variants is used for R* vehicles to enable/disable roof or cones and spare tires for certain vehicles.
https://wiki.multitheftauto.com/wiki/Vehicle_variants

you could also use hideComponent (wrong?), both functions requires remodeling of the vehicle, and you may have to sacrifice the rear boot if your plan is to make a sedan and coupe in one vehicle. just something to bare in mind.

Share this post


Link to post

You can't replace only 1 vehicle model. You replace all vehicles with the same id model. However, there's shaders option to change only the texture of a certain vehicle.

Share this post


Link to post

Can you show me a code to do this? I dont have any idea for this ;c

Share this post


Link to post

Yes, but i mean a model not a car texture, with this i makes that unknown.png

Share this post


Link to post

Then as I told you. If you place a vehicle mod on an ID model then all vehicle with that ID model will change. You can't choose only one car to change.

Share this post


Link to post
Posted (edited)

That's a quite complex task. You should add models via vehicle components and manage them in future however there might be a problem with active parts such as doors and wheels. You'll need additional scripts to make your custom wheels, doors trunks etc.

Edited by JeViCo
misspelled a word

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.