Jump to content
onlyTMJ

.NET Livery Help

Recommended Posts

I am trying to work out how to change a vehicle's livery in .NET scripthook scripting

 

If anyone could help, either post on or pm me

 

Thanks

Share this post


Link to post
Share on other sites

I am trying to work out how to change a vehicle's livery in .NET scripthook scripting

 

If anyone could help, either post on or pm me

 

Thanks

If you mean in game with trainer, you got to edit the vehicles.IDE in Common/Data. 

Then go to the vehicles you want to edit and add "+livery"

EX:

 

police2,    police2,    car,        POLICE2,    POLICE2,    VEH@STD,    VEH@STD_RI1,            100,  999,        0.2348,     0.2348,           0.2,  2,    1.0   ,1,      ext_requi+ext_strong+livery

Share this post


Link to post
Share on other sites

No, I am writing a script for the .NET scripthook, and am looking for the function to change a vehicle's livery, but dont know how :(

Share this post


Link to post
Share on other sites

No, I am writing a script for the .NET scripthook, and am looking for the function to change a vehicle's livery, but dont know how :(

Oh.. That I have no clue about. haha.

Share this post


Link to post
Share on other sites

In a .NET script, you want to avoid natives if at all possible - they tend to be poorly documented, and the interface is kludgy. You'd want to use SHDN's API if you can.

Share this post


Link to post
Share on other sites

Check out these properties of GTA.Vehicle:

Color
FeatureColor1
FeatureColor2
SpecularColor

Share this post


Link to post
Share on other sites

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

×