> For the complete documentation index, see [llms.txt](https://sourcemod.botbenson.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sourcemod.botbenson.com/komutlar/oyuncu-komutlari/isplayeralive.md).

# IsPlayerAlive

Oyuncunun yaşayıp/yaşamadığını kontrol etmenizi sağlar.

{% tabs %}
{% tab title="Kullanım" %}

```cpp
if(IsPlayerAlive(client)) {
    // Oyuncu Yaşıyor
} else {
    // Oyuncu Yaşamıyor
}
```

{% endtab %}

{% tab title="Orijinal Kod" %}

```cpp
bool IsPlayerAlive(int client);
```

{% endtab %}
{% endtabs %}

#### Parametreler

| Değişken | Tür | Açıklama         |
| -------- | --- | ---------------- |
| client   | int | İstemci numarası |

#### Geri Dönüş Değeri

{% hint style="info" %}
Bu fonksiyon geriye **bool** değerinde **başarılı/başarısız** döndürmez
{% endhint %}
