engineGetTXDIDFromName
Client-side
Resolves a loaded GTA texture-dictionary name to its current TXD slot.
Syntax
int|false engineGetTXDIDFromName(string txdName)Arguments
txdNamestringTexture 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
SOURCECLuaEngineDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaEngineDefs.cpp INTRODUCED / EXTENDED28dfcff23Read the commit and why the change was made TEST RESOURCE samp-map-loader test-resources/samp-map-loader
RELATED NEON APIS
Read the system guide → Continue exploring
← Back to the Neon Lua API · How SA-MP maps and object streaming works →