EngineLoadIMG: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{Client function}}
{{Client function}}
__NOTOC__
__NOTOC__
{{New feature/item|4|1.6.0|21708|This function loads an IMG container into GTA.}}
{{New feature/item|4|1.6.0|21708|This function loads an IMG container into GTA.}}
Line 15: Line 16:
==See Also==
==See Also==
{{Engine_functions}}
{{Engine_functions}}
[[Category:Changes in 1.6.0]]
[[Category:Changes in 1.6.0]]

Revision as of 17:22, 10 April 2023


ADDED/UPDATED IN VERSION 1.6.0 r21708:
This function loads an IMG container into GTA.
[[{{{image}}}|link=|]] Note: You can't load more than 2 IMG's due to GTA limitations.

IMG size can't be bigger than 1GB. (MTA limitation)

Syntax

img engineLoadIMG( string img_file )

OOP Syntax Help! I don't understand this!

Method: EngineIMG(...)


Required Arguments

  • img_file: The filepath to the IMG file you want to load.

Returns

Returns an IMG element if the IMG file loaded, false otherwise.

See Also