# engineGetTxdTextures (Client)

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

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Client
- **Category**: Textures
- **URL**: https://wiki.mymp.gg/en/engineGetTxdTextures

## Syntax

```lua
table engineGetTxdTextures(txd|string txd)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `txd` | `txd\|string` | A `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

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

## See also

- [engineGetTxdTexture (Client)](https://wiki.mymp.gg/en/engineGetTxdTexture.md): Gives a texture element that shows what a txd shows under a texture name, to draw it or use it as a source.
- [engineGetTxds (Client)](https://wiki.mymp.gg/en/engineGetTxds.md): Lists every texture dictionary this client knows, with where each one comes from.
- [engineSetTxdTexture (Client)](https://wiki.mymp.gg/en/engineSetTxdTexture.md): Puts an image in a txd under a texture name, replacing the texture of that name or adding a new one. Everything that reads the txd follows: models, peds, landscapes, roads, particles, water and sky.
