onlyTMJ Posted April 24, 2014 Share Posted April 24, 2014 When writing script'sin .NET script-hook for GTA 4 How does one change a car's livery?? Link to comment Share on other sites More sharing options...
Wiebrendh Posted April 24, 2014 Share Posted April 24, 2014 I have not a single idea what livery is (I am dutch ), but google translate says that it has something to do with colors you can change the car color with: Player.Character.CurrentVehicle.Color = ColorIndex.Blue; //Change primary car color Player.Character.CurrentVehicle.FeatureColor1 = ColorIndex.Black; // Change secondary color 1 Player.Character.CurrentVehicle.FeatureColor2 = ColorIndex.Black; // Change secondary color 2 Link to comment Share on other sites More sharing options...
LordOfTheBongs Posted April 24, 2014 Share Posted April 24, 2014 (edited) When writing script'sin .NET script-hook for GTA 4 How does one change a car's livery?? u can use this... just note this wont do anything if the car model is not designed to use liveries... speedo van i believe has liveries for example void SetCarLivery(Vehicle car, int livery){ GTA.Native.Function.Call("SET_CAR_LIVERY", car, livery);} Edited April 24, 2014 by LordOfTheBongs Link to comment Share on other sites More sharing options...
onlyTMJ Posted April 25, 2014 Author Share Posted April 25, 2014 is livery an integer or string??? Link to comment Share on other sites More sharing options...
LordOfTheBongs Posted April 25, 2014 Share Posted April 25, 2014 (edited) is livery an integer or string??? i wrapped the native so it would be easy to understand how to use... look at my method's argument types and you can see the type of parameters the native requires... id tell u but it is literally staring at u in your face and u should figure it out Edited April 25, 2014 by LordOfTheBongs Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now