# NPC:IsInViewCone

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

```lua
boolean NPC:IsInViewCone( Vector position )
```

```lua
boolean NPC:IsInViewCone( Entity ent )
```

## Açıklama

Belirtilen bir pozisyonun ya da varlığın, NPC'nin görüş konisi içinde olup olmadığını test eder.

## Varsayılan Argümanlar

1. [Vector](https://gmod.tr/wiki/Vector) **position**: Test edilecek pozisyon.

Argüman Aşırı Yüklemesi: Entity girdisi

1. [Entity](https://gmod.tr/wiki/Entity) **ent**: Test edilecek varlık. Varlığın pozisyonu kullanılacaktır.

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

1. [boolean](https://gmod.tr/wiki/boolean): Verilen pozisyonun görüş konisi içinde olup olmadığını belirtir.

- [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/NPC:IsInViewCone
