Lander Posted April 2, 2008 Posted April 2, 2008 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 )
Morelli Posted April 3, 2008 Posted April 3, 2008 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.
Lander Posted April 3, 2008 Author Posted April 3, 2008 For example, this stratum it's posibble to change or apply this paintjob in MTA (by coding)?????
Morelli Posted April 4, 2008 Posted April 4, 2008 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.
norby89 Posted April 4, 2008 Posted April 4, 2008 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 )
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