How to Force Liveries on car Spawn
-
hello
I'm having trouble setting up the liveries I want to control in the spawn.
I don't know which file to edit?I apologize for my bad English.
Can anyone help?
Thank you !
-
@Erlandson carvariation.meta or spawn with Script.
-
@JohnFromGWN
If possible I would like to use carvariation.meta
-
I only spawn with my own scripts. I've never done this and apparently it may not work consistently but....
Open carvariation file and look for this tag. Play with the order, hopefully it will work.
If you only want 1 livery all the time, delete the other textures.<liveries> <Item value="true" /> <Item value="false" /> <Item value="false" /> </liveries>
-
And if it's scripts, what should I do?
-
@Erlandson
You would have to learn programming, for example in C#, which is considerably longer than editing a text file.Vehicle vehicle39 = World.CreateVehicle("fgt3", PP.Position + PP.ForwardVector * 3.0f, PP.Heading + 90); Function.Call(Hash.SET_VEHICLE_LIVERY, vehicle39, 6);