EngineGetModelTXDID: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client function}} {{New feature/item|4|1.6.0|21695|This function gets TXD ID from a model.}} {{Warning|This article is incomplete and may contain errors}} ==Syntax== <syntaxhighlight lang="lua"> img engineGetModelTXDID ( int modelID ) </syntaxhighlight> {{OOP||EngineIMG}} ===Required Arguments=== * '''modelID''': ID of the model you want to get TXD ID from. ===Returns=== Returns ID if successful, false otherwise. ==See Also== {{Engine_functions}}")
 
No edit summary
 
Line 3: Line 3:


{{New feature/item|4|1.6.0|21695|This function gets TXD ID from a model.}}
{{New feature/item|4|1.6.0|21695|This function gets TXD ID from a model.}}
{{Warning|This article is incomplete and may contain errors}}


==Syntax==
==Syntax==
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
img engineGetModelTXDID ( int modelID )
number engineGetModelTXDID ( number modelID )
</syntaxhighlight>
</syntaxhighlight>


{{OOP||[[DFF|EngineIMG]]}}
{{OOP||Engine.getModelTXDID}}
===Required Arguments===
===Required Arguments===
* '''modelID''': ID of the model you want to get TXD ID from.
* '''modelID''': ID of the model you want to get TXD ID from.

Latest revision as of 02:45, 10 November 2023

ADDED/UPDATED IN VERSION 1.6.0 r21695:
This function gets TXD ID from a model.

Syntax

number engineGetModelTXDID ( number modelID )


OOP Syntax Help! I don't understand this!

Method: Engine.getModelTXDID(...)


Required Arguments

  • modelID: ID of the model you want to get TXD ID from.

Returns

Returns ID if successful, false otherwise.

See Also