# Entity:GetNetworkedVarProxy

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

```lua
function Entity:GetNetworkedVarProxy( string name )
```

## Açıklama

> **KALDIRILDI:** Bu fonksiyonun yerini [Entity:GetNetworked2VarProxy](https://gmod.tr/wiki/Entity:GetNetworked2VarProxy) almıştır. Bu sayfa, eski bir kodla karşılaşıp ne olduğunu merak edenler için bir arşiv olarak tutulmaktadır

Bu varlığın, daha önce [Entity:SetNWVarProxy](https://gmod.tr/wiki/Entity:SetNWVarProxy) ile ayarlanmış olan belirtilen NWVar'ı için geri çağırma (callback) fonksiyonunu döndürür.

## Argümanlar

1. [string](https://gmod.tr/wiki/string) **name**: Geri çağırma fonksiyonu alınacak NWVar'ın adı.

## Dönen Değer

1. [function](https://gmod.tr/wiki/function): Belirtilen NWVar'ın geri çağırma (callback) fonksiyonu, eğer varsa. Fonksiyon argüman(lar)ı: 1. [Entity](https://gmod.tr/wiki/Entity) **ent** - Varlık 2. [string](https://gmod.tr/wiki/string) **name** - Değişen NWVar'ın adı 3. [any](https://gmod.tr/wiki/any) **oldval** - Eski değer 4. [any](https://gmod.tr/wiki/any) **newval** - Yeni değer

### Örnek

1. Oyuncunun (Player 1) "Key" adlı NWVar'ının geri çağırma (callback) fonksiyonunu yazdırır.

```lua
print( Entity(1):GetNetworkedVarProxy( "Key" ) )
Entity(1):SetNetworkedVarProxy( "Key", print )
print( Entity(1):GetNetworkedVarProxy( "Key" ) )
```

**Çıktı:**

```lua
nil
function: builtin#25
```

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