Jump to content

[ERROR] EngineLoadTXD


Simple0x47

Recommended Posts

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

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...