engineGetModelTextureNames | Multi Theft Auto: Wiki Skip to content

engineGetModelTextureNames

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 a table of the world textures which are applied to the specified model.

Syntax

engineGetModelTextureNames ( )

Code Examples

client

This example will output the texture names applied to the Comet.

for _,name in ipairs( engineGetModelTextureNames( "480" ) ) do
outputConsole( name )
end

See Also

Engine Functions
Engine Elements