Jump to content

Changing the Paintjobs


Lander

Recommended Posts

Posted

It's possible to change the Paintjobs of the cars Elegy, Sultan, Stratum, etc, for custom paintjobs????

A friend wrote this code for me, but he told me who the custom paintjobs don't has especific ID

function setupOnePaintjob ( )  
     txd = engineLoadTXD ( "stratum3.txd" ) 
     engineImportTXD ( txd, 561 ) 
end 
addEventHandler ( "onClientResourceStart", getRootElement ( ), setupOnePaintjob ) 

Posted
It's possible to change the Paintjobs of the cars Elegy, Sultan, Stratum, etc, for custom paintjobs????

By 'custom paintjobs', I'm going to assume that you're referring to the native GTA paintjobs that you can put on selected vehicles at mod shops. If so, you may want to take a look at setVehiclePaintjob.

Posted
it's posibble to change or apply this paintjob in MTA (by coding)?????

As I said in my post, take a look at setVehiclePaintjob. I believe the value integers are from 0 to 3, inclusive, but you'll have to check up on that one, as I'm not positive about it.

Posted
As I said in my post, take a look at setVehiclePaintjob. I believe the value integers are from 0 to 3, inclusive, but you'll have to check up on that one, as I'm not positive about it.

he wants to use a custom texture though, Lander it should be possible however there were some issues with it in dp2 I believe (white textures and such) loading it a couple times usually solved it, so I suggest making a command instead:

addCommandHandler ( "changepaint", setupOnePaintjob ) 

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.
×
×
  • Create New...