EngineAddImage: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
(Undo revision 77204 by TEDERIs (talk))
Tag: Undo
 
(5 intermediate revisions by 3 users not shown)
Line 2: Line 2:
{{Client function}}
{{Client function}}


{{New feature/item|4|1.6.0|21695|This function adds an IMG file container to GTA streamer. After this GTA will asynchronously load models from IMG. '''Only two additional archives can be enabled once```}}
{{New feature/item|4|1.6.0|21695|This function adds an IMG file container to GTA streamer. After this GTA will asynchronously load models from IMG. '''Only two additional archives can be enabled once'''}}


==Syntax==
==Syntax==
Line 9: Line 9:
</syntaxhighlight>
</syntaxhighlight>


{{OOP||[[DFF|EngineIMG]]}}
{{OOP||[[img]]:add}}
===Required Arguments===
===Required Arguments===
* '''imgArchive''': The [[IMG]] file you want to add to GTA world.
* '''imgArchive''': The [[IMG]] file you want to add to GTA world.

Latest revision as of 01:44, 26 July 2023

ADDED/UPDATED IN VERSION 1.6.0 r21695:
This function adds an IMG file container to GTA streamer. After this GTA will asynchronously load models from IMG. Only two additional archives can be enabled once

Syntax

boolean engineAddImage ( img imgArchive )


OOP Syntax Help! I don't understand this!

Method: img:add(...)


Required Arguments

  • imgArchive: The IMG file you want to add to GTA world.

Returns

Returns true if the IMG element was successfully added, false otherwise.

See Also