# CRecipientFilter:AddPVS

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

```lua
CRecipientFilter:AddPVS( Vector Position )
```

## Açıklama

Bu pozisyonla aynı [PVS (Potential Visibility Set)](https://developer.valvesoftware.com/wiki/PVS) içinde olan tüm oyuncuları ekler.

## Argümanlar

1. [Vector](https://gmod.tr/wiki/Vector) **Position**: Oyuncuların potansiyel olarak görebileceği PVS pozisyonu.

### Örnek

Haritanın başlangıç noktasından (orijin) görülebilen oyuncuları bir alıcı filtresine ekler, ardından onlara bir mesaj gönderir.

```lua
function SendMessage()
	local filter = RecipientFilter()
	filter:AddPVS( Vector( 0, 0, 0 ) )

	net.Start( "message" )
	net.Send( filter )
end
```

**Çıktı:** 0,0,0 pozisyonundan görülebilen her oyuncuya bir net 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:AddPVS
