engineGetModelTXDID | Multi Theft Auto: Wiki Skip to content

engineGetModelTXDID

Client-side
Server-side
Shared

Pair: engineSetModelTXDID

Added in 1.6.0 r21695

This function gets TXD ID from a model.

OOP Syntax Help! I don't understand this!

  • Method:Engine.getModelTXDID(...)

Syntax

int engineGetModelTXDID ( ​int modelID )
Required Arguments
  • modelID: ID of the model you want to get TXD ID from.

Returns

  • int: txd id

Returns ID if successful, otherwise error is triggered.

Code Examples

Script Example Missing

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

Contribution guidelines

See Also

Engine Functions