engineRestoreTXDImage | Multi Theft Auto: Wiki Skip to content

engineRestoreTXDImage

Client-side
Server-side
Shared

Added in 1.6.0 r21695

This function restores changes to TXD file from IMG container. This function reverses the effect of engineImageLinkTXD.

OOP Syntax Help! I don't understand this!

  • Method:Engine.restoreTXDImage(...)

Syntax

bool engineRestoreTXDImage ( ​int modelID )
Required Arguments
  • modelID: ID of the model you want to restore.

Returns

  • bool: value

Returns true if IMG file was successfully restored, false or throws error otherwise.

Code Examples

Script Example Missing

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

Contribution guidelines

See Also

Engine Functions