# Entity:ViewModelIndex

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

```lua
number Entity:ViewModelIndex()
```

## Açıklama

Bu view model'ın (görünüm modeli) indeksini döndürür. Bu, entity'nin oyuncunun hangi view model'ı olduğunu belirlemek için kullanılabilir.

## Döndürülen Değerler

1. [number](https://gmod.tr/wiki/number): View model indeksi, 0 ile 2 arasında bir değer alır. Eğer entity bir view model değilse nil döner.

- [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/Entity:ViewModelIndex
