# Entity:SetNWVector

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

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

## Açıklama

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

Değere daha sonra hem istemci hem de sunucudan [Entity:GetNWVector](https://gmod.tr/wiki/Entity:GetNWVector) ile erişilebilir.

> **UYARI:** 4095 yuvalık bir Ağ limiti vardır. Daha fazlasına ihtiyacınız varsa, [net](https://gmod.tr/wiki/net) kütüphanesini veya [Entity:SetNW2Vector](https://gmod.tr/wiki/Entity:SetNW2Vector) kullanmayı düşünün. Ayrıca çok fazla değişkeniniz olduğu gerçeğini de göz önünde bulundurmalısınız. Bu limit hakkında daha fazla bilgiyi buradan edinebilirsiniz: [Networking_Usage](https://gmod.tr/wiki/Networking_Usage#nwlimits)

> **NOT:** Bu fonksiyonu istemci tarafında çalıştırmak, değeri yalnızca çağrıldığı istemci için ayarlar.

## Argümanlar

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

### Örnek

Bu, tüm istemcilerde 'positionzero' adlı ağ bağlantılı vektörü Vector( 0, 0, 0 ) olarak ayarlayacaktır.

```lua
for i, ply in ipairs( player.GetAll() ) do
    ply:SetNWVector( 'positionzero', Vector( 0, 0, 0 ) )
end
```

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