# Entity:SendViewModelMatchingSequence

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

```lua
Entity:SendViewModelMatchingSequence( number seq )
```

## Açıklama

Sıra animasyonunu görüş modeline gönderir. Görüş modeli animasyonları için [Entity:ResetSequence](https://gmod.tr/wiki/Entity:ResetSequence) yerine bunun kullanılması tavsiye edilir.

Bu fonksiyon sadece görüş modellerinde kullanılabilir.

> **NOT:** Tahmin edilen (predicted) görüş modellerinin sırası ve döngüsü tahmin kontrolleri sırasında sıfırlanacaktır, bu da sunucuda da çağrılmadığı sürece bu fonksiyonun hiçbir şey yapmıyormuş gibi görünmesine neden olur.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **seq**: [Entity:LookupSequence](https://gmod.tr/wiki/Entity:LookupSequence) veya [Entity:SelectWeightedSequence](https://gmod.tr/wiki/Entity:SelectWeightedSequence) tarafından döndürülen sıra ID'si.

### Örnek

Bir `ACT_VM_*` enum'unu fonksiyon tarafından kullanılabilecek bir sıraya dönüştürme.

```lua
local VModel = self:GetOwner():GetViewModel()
local EnumToSeq = VModel:SelectWeightedSequence( ACT_VM_PRIMARYATTACK )

VModel:SendViewModelMatchingSequence( EnumToSeq )
```

**Çıktı:** Birincil saldırı enum sırasını görüş modeline gönderir ve oynatır.

- [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:SendViewModelMatchingSequence
