engineAddImage | Multi Theft Auto: Wiki Skip to content

engineAddImage

Client-side
Server-side
Shared

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


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

OOP Syntax Help! I don't understand this!

  • Method: img:add(...)

Syntax

boolean engineAddImage ( img imgArchive )
Required Arguments
  • imgArchive: The IMG file you want to add to GTA world.

Returns

  • boolean: value

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

Code Examples

Script Example Missing

Function engineAddImage needs a script example. Help out by writing one.

Contribution guidelines

See Also

Engine Functions
Engine Elements