Niasio Posted July 31, 2016 Share Posted July 31, 2016 (edited) Hello, I create my Rp server on MTA and I want to add some vehicles mods or skin with my script. But, the texture don't load and it create a "white" texture. http://img4.hostingpics.net/pics/276436mtascreen20160731193726.png The script code: function applyMods() vbfypro = engineLoadDFF ( "vbfypro.dff", 245) engineReplaceModel ( vbfypro, 245) vbfypro = engineLoadTXD ( "vbfypro.txd" ) engineImportTXD ( vbfypro, 245 ) test = engineLoadDFF ( "sentinel.dff", 405) engineReplaceModel ( test, 405) test2 = engineLoadTXD ( "sentinel.txd" ) engineImportTXD ( test2, 405 ) claude = engineLoadDFF ( "claude.dff", 124) engineReplaceModel ( claude, 124) claude2 = engineLoadTXD ( "claude.txd" ) engineImportTXD ( claude2, 124 ) skin9 = engineLoadTXD("mods/skins/9/wfyst.txd") engineImportTXD(skin9, 9) end addEventHandler("onClientResourceStart", getResourceRootElement(), applyMods) Have a good day, Niasio Edited July 31, 2016 by Guest Link to comment
Wumbaloo Posted July 31, 2016 Share Posted July 31, 2016 Problem solved, just invert dff and txd. 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