engineImageGetFile | Multi Theft Auto: Wiki Skip to content

engineImageGetFile

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 gets a file from an IMG container.

Syntax

engineImageGetFile ( )

Code Examples

client

You could use the following code:

local img = engineLoadIMG( "file.img" )
local data = engineImageGetFile( img, 'test.dff' )
local dff = engineLoadDFF( data )
engineReplaceModel ( dff, 400 )

See Also

Engine Functions
Engine Elements