# Player:Alive

- **Ortam:** İstemci, Sunucu
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/Player:Alive
- **Çeviri tarihi:** 2025-09-08

```lua
boolean Player:Alive()
```

## Açıklama

Oyuncunun hayatta olup olmadığını kontrol eder.

[Entity:Alive](https://gmod.tr/wiki/Entity:Alive)'ın oyuncuya özel uygulamasıdır, değer istemci ile senkronize edilir.

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

1. [boolean](https://gmod.tr/wiki/boolean): Oyuncunun hayatta olup olmadığı

### Örnek

Tüm oyuncular arasında döngü oluşturur ve hayatta olanları öldürür.

```lua
for i, ply in ipairs( player.GetAll() ) do
	if ply:Alive() then
		ply:Kill()
	end
end
```

- [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/Player:Alive
