engineImageGetFilesCount | Multi Theft Auto: Wiki Skip to content

engineImageGetFilesCount

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

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


This function returns the number of files an IMG file has.

Syntax

engineImageGetFilesCount ( )

Code Examples

client

You could use the following code:

local img = engineLoadIMG( "file.img" )
local count = engineImageGetFilesCount( img )
outputChatBox("'file.img' has " .. count .. " files")

See Also

Engine Functions
Engine Elements