# CEffectData:SetMaterialIndex

- **Ortam:** İstemci, Sunucu
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/CEffectData:SetMaterialIndex
- **Çeviri tarihi:** 2025-09-08

```lua
CEffectData:SetMaterialIndex( number materialIndex )
```

## Açıklama

Efektin materyal indeksini ayarlar.

> **NOT:** Dahili olarak bir tam sayı (integer) olarak saklanır, ancak yalnızca ilk 12 bit ağ üzerinden gönderilir, bu da fonksiyonu etkin bir şekilde 0-4095 aralığıyla sınırlar.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **materialIndex**: Efektin materyal indeksi.

- [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/CEffectData:SetMaterialIndex
