EngineImageLinkDFF: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function links DFF with an IMG container.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineImageLinkDFF ( img img_file, string file_path, int modelID ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''img_file''': The IMG file you want to link. * '''file_path''': Path to the DFF file you want to link. *...")
 
No edit summary
Line 2: Line 2:
{{Client function}}
{{Client function}}


{{New feature/item|4|1.6.0|21695|This function links DFF with an IMG container.}}
{{New feature/item|4|1.6.0|21695|This function links DFF file with an IMG container.}}
{{Warning|This article is incomplete and may contain errors}}
{{Warning|This article is incomplete and may contain errors}}



Revision as of 17:51, 10 April 2023

ADDED/UPDATED IN VERSION 1.6.0 r21695:
This function links DFF file with an IMG container.
[[|link=|]] Warning: This article is incomplete and may contain errors

Syntax

img engineImageLinkDFF ( img img_file, string file_path, int modelID )


OOP Syntax Help! I don't understand this!

Method: EngineIMG(...)


Required Arguments

  • img_file: The IMG file you want to link.
  • file_path: Path to the DFF file you want to link.
  • modelID: ID of the model you want to link to.

Returns

Returns true if IMG file was successfully linked, false otherwise.


See Also