engineSetModelTXDID | Multi Theft Auto: Wiki Skip to content

engineSetModelTXDID

Client-side
Server-side
Shared

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


This function changes the TXD ID of the given model ID.

OOP Syntax Help! I don't understand this!

  • Method: Engine.setModelTXDID(...)

Syntax

bool engineSetModelTXDID ( int modelID, int txdID )
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

  • bool: value

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

Code Examples

Script Example Missing

Function engineSetModelTXDID needs a script example. Help out by writing one.

Contribution guidelines

See Also

Engine Functions
Engine Elements