Jump to content

Import Paintjob Help MTA


Recommended Posts

Im trying to import the paintjob file but i dont know how to script it. heres what i have for the replacement of the car

function replaceModel()  
  txd = engineLoadTXD("data/562.txd", 562) 
  engineImportTXD(txd, 562) 
  dff = engineLoadDFF("data/562.dff", 562) 
  engineReplaceModel(dff, 562) 
end 
addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) 
  
addCommandHandler ( "reloadcar", replaceModel ) 

the name of the paintjob is """uranus2.txd"""

Link to comment

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...