# surface.GetHUDTexture

- **Ortam:** İstemci
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/surface.GetHUDTexture
- **Çeviri tarihi:** 2025-09-08

```lua
number surface.GetHUDTexture( string name )
```

## Açıklama

Belirtilen isme sahip bir dokunun [HUD simgesi](https://github.com/Facepunch/garrysmod/blob/master/garrysmod/scripts/hud_textures.txt) TextureID'sini döndürür.

Muhtemelen [Material](https://gmod.tr/wiki/Global.Material) ve [surface.SetMaterial](https://gmod.tr/wiki/surface.SetMaterial) kullanmak isteyeceksiniz.

## Argümanlar

1. [string](https://gmod.tr/wiki/string) **name**: Dokunun adı.

## Döndürdüğü Değer

1. [number](https://gmod.tr/wiki/number) **texID**: [surface.SetTexture](https://gmod.tr/wiki/surface.SetTexture) ile kullanılmak üzere doku ID'si.

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/surface.GetHUDTexture
