EngineSetModelTXDID

From Multi Theft Auto: Wiki
Revision as of 02:53, 10 November 2023 by TheNormalnij (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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