# RecipientFilter

- **Ortam:** Sunucu
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/Global.RecipientFilter
- **Çeviri tarihi:** 2025-09-08

```lua
CRecipientFilter RecipientFilter( boolean unreliable = false )
```

## Açıklama

Yeni bir [CRecipientFilter](https://gmod.tr/wiki/CRecipientFilter) oluşturur.

## Argümanlar

1. [boolean](https://gmod.tr/wiki/boolean) **unreliable** = false: Eğer true olarak ayarlanırsa, filtreyi güvenilmez (unreliable) yapar. Bu, [CreateSound](https://gmod.tr/wiki/Global.CreateSound) (ve sonraki güncellemeleri) gibi durumlarda ağ üzerinden gönderilirken, mesajın tüm istemcilere ulaşacağının garanti edilmediği anlamına gelir.

## Döndürdüğü Değer

1. [CRecipientFilter](https://gmod.tr/wiki/CRecipientFilter): Yeni oluşturulan alıcı filtresi.

### Örnek

Fonksiyonun örnek kullanımı

```lua
local rf = RecipientFilter()
rf:AddAllPlayers()
print( rf:GetCount() )
PrintTable( rf:GetPlayers() )
```

**Çıktı:**

```lua
2
1	=	Player [1][Player #1]
2	=	Player [2][Player #2]
```

- [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/Global.RecipientFilter
