# NPC:GetEnemyLastKnownPos

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

```lua
Vector NPC:GetEnemyLastKnownPos( Entity enemy = GetEnemy() )
```

## Açıklama

Bir NPC'nin düşmanının bilinen son pozisyonunu döndürür.

[NPC:GetEnemyLastSeenPos](https://gmod.tr/wiki/NPC:GetEnemyLastSeenPos) fonksiyonuna benzer, ancak bilinen pozisyon, son görülen pozisyondan birkaç saniye ileride olacaktır.

## Argümanlar

1. [Entity](https://gmod.tr/wiki/Entity) **enemy** = GetEnemy(): Kontrol edilecek düşman.

## Döndürülen Değer

1. [Vector](https://gmod.tr/wiki/Vector) **pos**: Bilinen son pozisyon.

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