Jump to content

[ERROR] EngineLoadTXD


Simple0x47

Recommended Posts

Posted

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.

Posted
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 :P Who knows? :P

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...