EngineLoadDFF

From Multi Theft Auto: Wiki
Revision as of 15:09, 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 Model (DFF) file into GTA.


ONLY USE FOR OBJECT MODELS


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

Syntax

bool engineLoadDFF ( string dff_file, number model_id ) 

Required Arguments

  • dff_file: The relative path to the dff file you want to load
  • model_id: PASS ZERO TO THIS PARAMETER

Returns

Returns true if the function executed succesfully, false otherwise.

Example

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

See Also