EngineSetModelTXDID

From Multi Theft Auto: Wiki
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