# Entity:SetNW2Vector

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

```lua
Entity:SetNW2Vector( string key, Vector value )
```

## Açıklama

Varlık üzerinde ağa bağlı (networked) bir vektör değeri ayarlar.

Bu değere daha sonra hem istemciden hem de sunucudan [Entity:GetNW2Vector](https://gmod.tr/wiki/Entity:GetNW2Vector) ile erişilebilir.

> **HATA:** Lua Varlığına (Lua Entity) dayalı varlıklarda NW2 Sistemini kullanmamalısınız, aksi takdirde NW2Vars karışabilir, birden çok kez güncellenebilir veya hiç ayarlanmayabilir.
> Sorun Takipçisi: [5455](https://github.com/Facepunch/garrysmod-issues/issues/5455)

> **UYARI:** Değer yalnızca varlık istemcinin PVS'ine girerse veya PVS'indeyse istemci tarafında güncellenir. Bunun yerine [Entity:SetNWVector](https://gmod.tr/wiki/Entity:SetNWVector) kullanın

> **NOT:** Bu fonksiyonu istemci tarafında çalıştırmak, değeri yalnızca çağrıldığı istemci için ayarlar.
> Değer, yalnızca mevcut değerle aynı değilse ağa gönderilir ve SetNW* fonksiyonlarının aksine, değer her 10 saniyede bir değil, yalnızca bir kez ağa gönderilir.

## Argümanlar

1. [string](https://gmod.tr/wiki/string) **key**: Değeri ilişkilendirilecek anahtar
2. [Vector](https://gmod.tr/wiki/Vector) **value**: Ayarlanacak değer

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