Lloyd Logan Posted December 27, 2012 Share Posted December 27, 2012 Hey, I put in a vehicle mod into my sercver, but the interior is a kind of cream colour ONLY. http://imageshack.us/photo/my-images/822/23571981.png/ Script function replaceModel() txd = engineLoadTXD("stafford.txd", 580 ) engineImportTXD(dff, 580) dff = engineLoadDFF("stafford.dff", 580 ) engineReplaceModel(dff, 580) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) addCommandHandler ( "reloadcar", replaceModel ) Any ideas? Link to comment
csiguusz Posted December 27, 2012 Share Posted December 27, 2012 Something is wrong with the textures I think. Link to comment
Lloyd Logan Posted December 29, 2012 Author Share Posted December 29, 2012 Something is wrong with the textures I think. Its all vehicles if thats what you mean? Link to comment
csiguusz Posted December 29, 2012 Share Posted December 29, 2012 Not all vehicles. Maybe something with just this mod is wrong because your code seems to be correct and i hope everything is added correctly to the meta.xml too. Link to comment
Lloyd Logan Posted December 29, 2012 Author Share Posted December 29, 2012 Not all vehicles. Maybe something with just this mod is wrong because your code seems to be correct and i hope everything is added correctly to the meta.xml too. I've noticed the problem : engineImportTXD(dff, 580) line 3 Instead of dff, it should be txd. Thanks tho 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