EngineSetModelTXDID: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0161|1.6.0|22190|This function changes the TXD ID of the given model ID.}} ==Syntax== <syntaxhighlight lang="lua"> bool engineSetModelTXDID( int modelID, int txdID ) </syntaxhighlight> {{OOP||Engine.setModelTXDID}} ===Required Arguments=== *'''modelID:''' The ID of the model to update TXD ID. *'''txdID:''' The ID of target TXD. Use engineRequestTXD to get a new TXD ID. ===Returns=== Returns ''true'' if this fu...")
 
(No difference)

Latest revision as of 02:53, 10 November 2023

ADDED/UPDATED IN VERSION 1.6.0 r22190:
This function changes the TXD ID of the given model ID.


Syntax

bool engineSetModelTXDID( int modelID, int txdID )

OOP Syntax Help! I don't understand this!

Method: Engine.setModelTXDID(...)


Required Arguments

  • modelID: The ID of the model to update TXD ID.
  • txdID: The ID of target TXD. Use engineRequestTXD to get a new TXD ID.

Returns

Returns true if this function succeeds, throw a error if it fails for some reason.


See Also