# CRecipientFilter:AddPlayer

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

```lua
CRecipientFilter:AddPlayer( Player Player )
```

## Açıklama

Alıcı filtresine bir oyuncu ekler.

## Argümanlar

1. [Player](https://gmod.tr/wiki/Player) **Player**: Alıcı filtresine eklenecek oyuncu.

### Örnek

İlk oyuncu nesnesini alıcı filtresine ekler, ardından ona bir mesaj gönderir.

```lua
function SendMessage()
	local filter = RecipientFilter()
	filter:AddPlayer( Entity( 1 ) )
	net.Start( "message" )
	net.Send( filter )
end
```

**Çıktı:** Eğer varsa, ilk oyuncu nesnesine bir ağ mesajı gönderir.

- [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/CRecipientFilter:AddPlayer
