EngineFreeTXD

From Multi Theft Auto: Wiki
Revision as of 17:34, 7 November 2024 by Fernando187 (talk | contribs) (Remove obsolete Requirements section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ADDED/UPDATED IN VERSION 1.6.0 r22190:
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

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

Example

-- TODO
-- Allocate
local newTxdId = engineRequestTXD("MYTEX")

-- Remove
engineFreeTXD(newTxdId)

See Also