Simple0x47 Posted April 19, 2016 Share 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. Link to comment
Seba500PLK Posted April 19, 2016 Share Posted April 19, 2016 Anybody? meta.xml please Link to comment
Simple0x47 Posted April 19, 2016 Author Share 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? Link to comment
Seba500PLK Posted April 19, 2016 Share Posted April 19, 2016 maybe you use this on serverside? Link to comment
Simple0x47 Posted April 19, 2016 Author Share 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 Link to comment
Seba500PLK Posted April 19, 2016 Share Posted April 19, 2016 check this: pjs = engineLoadTXD("car/pjs.txd") Link to comment
Simple0x47 Posted April 19, 2016 Author Share Posted April 19, 2016 Still the same, and yes it's the full code because I'm testing with GTA III models. Link to comment
Seba500PLK Posted April 19, 2016 Share Posted April 19, 2016 check with another models Link to comment
Simple0x47 Posted April 19, 2016 Author Share 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 Link to comment
Captain Cody Posted April 19, 2016 Share Posted April 19, 2016 Gta III is probably in a different format then SA. Link to comment
Simple0x47 Posted April 20, 2016 Author Share 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? Link to comment
[PXG]Blue Posted April 20, 2016 Share Posted April 20, 2016 You need to convert the models from III to SA Link to comment
Simple0x47 Posted April 20, 2016 Author Share Posted April 20, 2016 Right now I'm converting all files. Thanks for your help. 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