M MY Multiplayer: Wiki
Side
Kind

engineGetTxdTextures

Client

Lists the names of the textures a txd gives, links included.

table engineGetTxdTextures(txd|string txd)

Parameters

NameTypeDescription
txdtxd|stringA txd element or a txd's name.

Returns

A list of texture names. Textures a link hides are left out, and names a link adds are included. Raises an error if no txd has that name.

Example

for _, name in ipairs(engineGetTxdTextures("infernus")) do
    print(name)
end

See also