Jamie_Mews Posted March 3, 2011 Share Posted March 3, 2011 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
Timic Posted March 3, 2011 Share Posted March 3, 2011 You can't replace paintjob (I think) Link to comment
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