Skip to content

engineGetTXDIDFromName

Client-side

Available in Neon, not standard MTA

Resolves a loaded GTA texture-dictionary name to its current TXD slot.

Syntax

int|false engineGetTXDIDFromName(string txdName)

Arguments

txdNamestring

Texture dictionary name used by the map/material description.

Returns

The current TXD slot ID, or false when the dictionary is not registered.

Ownership and lifecycle

Parsing creates inert data. Objects, custom models, material overrides, removals, and any temporary streaming-limit split remain owned by the calling client resource and must be cleaned up when that resource stops.

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →