EngineResetModelTXDID: 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 restores the original TXD ID of the given model ID. Reverses the effect of EngineSetModelTXDID.}} ==Syntax== <syntaxhighlight lang="lua"> bool engineResetModelTXDID( int modelID ) </syntaxhighlight> {{OOP||Engine.resetModelTXDID}} ===Required Arguments=== *'''modelID:''' The ID of the model to restore the model of ===Returns=== Returns ''true'' if this function succeeds, throw a...")
 
(No difference)

Latest revision as of 15:00, 6 September 2023

ADDED/UPDATED IN VERSION 1.6.0 r22190:
This function restores the original TXD ID of the given model ID. Reverses the effect of EngineSetModelTXDID.


Syntax

bool engineResetModelTXDID( int modelID )

OOP Syntax Help! I don't understand this!

Method: Engine.resetModelTXDID(...)


Required Arguments

  • modelID: The ID of the model to restore the model of

Returns

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


See Also