Simple0x47 Posted April 19, 2016 Posted April 19, 2016 Hello MTA Community, I've been preparing all for get the Liberty City Map into a MTA Server. But I've tried to replace a simple model but I get a engineLoadTXD error with a file that I extracted from the gta3.img. Error loading '@engineLoadTXD'['car/pjs.txd'] And here the test code. function replaceModel() col = engineLoadCOL("car/industNW.col", 3781) engineReplaceCOL( col, 3781 ) pjs = engineLoadTXD("car/pjs.txd", 3781) engineImportTXD( pjs, 3781 ) dff = engineLoadDFF("car/ind_land101.dff", 3781) engineReplaceModel( dff, 3781 ) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceModel) Thanks for your help.
Simple0x47 Posted April 19, 2016 Author Posted April 19, 2016 Everything is defined good, just I don't know the cause why if I use GTA III txds they don't work. Any solution for that?
Simple0x47 Posted April 19, 2016 Author Posted April 19, 2016 It's client-side, I tried with some mods of cars to see if it works and it works, but when I put the GTA III .txd and .dff it give's error. I don't get it
Seba500PLK Posted April 19, 2016 Posted April 19, 2016 check this: pjs = engineLoadTXD("car/pjs.txd")
Simple0x47 Posted April 19, 2016 Author Posted April 19, 2016 Still the same, and yes it's the full code because I'm testing with GTA III models.
Simple0x47 Posted April 19, 2016 Author Posted April 19, 2016 I think I have both GTA III .img damaged or corrupted or something, because when I use VC models they work
Captain Cody Posted April 19, 2016 Posted April 19, 2016 Gta III is probably in a different format then SA.
Simple0x47 Posted April 20, 2016 Author Posted April 20, 2016 Gta III is probably in a different format then SA. I thought in that possibility too. But I saw already a server with GTA III map, so maybe the version of GTA III is the problem Who knows?
Simple0x47 Posted April 20, 2016 Author Posted April 20, 2016 Right now I'm converting all files. Thanks for your help.
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