EngineLoadTXD

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

This function loads a RenderWare Texture Dictionary (TXD) file into GTA. The texture dictionary can then be used to provide textures.

This is a client-side function. Be sure to transfer your TXD file by including it in the meta file.

Syntax

bool engineLoadTXD ( string txd_file ) 

Required Arguments

  • txd_file: The relative path to the txd file you want to load

Returns

Returns true if the function executed succesfully, false otherwise.

Example

-- example pending, please see models/carrier/bastage_hq resources

See Also