EngineAddImage: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (fix OOP)
No edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 3: Line 3:


{{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'''}}
{{New feature/item|4|1.6.0|21892|'''Up to 255 additional archives can be enabled once'''}}


==Syntax==
==Syntax==

Latest revision as of 14:14, 16 October 2024

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
ADDED/UPDATED IN VERSION 1.6.0 r21892:
Up to 255 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