EngineImportTXD

From Multi Theft Auto: Wiki
Revision as of 22:03, 9 June 2007 by IJs (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function imports a RenderWare Texture Dictionary into the model identified by the model id. This is necessary in order for the DFF loader to find any new textures. This does however not replace the original textures of the model.

Syntax

bool engineImportTXD ( txd, number model_id ) 

Required Arguments

  • txd: The TXD that was loaded with engineLoadTXD
  • model_id: The model id to import the TXD into

Returns

Returns true if the function executed succesfully, false otherwise.

Example

See Also