EngineImageGetFile: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Changed return "type" to a valid one)
m (Fixed a typo)
Line 13: Line 13:
===Required Arguments===
===Required Arguments===
* '''img_file''': The [[IMG]] file you want to get file from.
* '''img_file''': The [[IMG]] file you want to get file from.
* '''file_name'': Name of the file you want to get.
* '''file_name''': Name of the file you want to get.


===Returns===
===Returns===

Revision as of 18:05, 10 April 2023

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

Syntax

img engineImageGetFile ( img img_file, string file_name )


OOP Syntax Help! I don't understand this!

Method: EngineIMG(...)


Required Arguments

  • img_file: The IMG file you want to get file from.
  • file_name: Name of the file you want to get.

Returns

Returns file's binary data if successful, false otherwise.

See Also