engineFreeTXD | Multi Theft Auto: Wiki Skip to content

engineFreeTXD

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 is used to un-assign the specified TXD ID from the engineRequestTXD assignment.

Syntax

bool engineFreeTXD ( int txdID )
Required Arguments
  • txdID: the TXD ID you want to have un-assigned.

Returns

  • bool: value

Returns true if the TXD was successfully freed, false otherwise.

Code Examples

shared
-- TODO
-- Allocate
local newTxdId = engineRequestTXD("MYTEX")
-- Remove
engineFreeTXD(newTxdId)

See Also

Engine Functions
Engine Elements