> 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/createfakeclient.md).

# CreateFakeClient

Bir sahte istemci yani bot oluşturmak için kullanılabilir.

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

```cpp
int clientId = CreateFakeClient("BOT Benson");
if(clientId > 0) {
    // BOT oluşturma başarılı
} else {
    // BOT oluşturma başarısız
}
```

{% endtab %}

{% tab title="Orijinal Kod" %}

```cpp
int CreateFakeClient(const char[] name);
```

{% endtab %}
{% endtabs %}

#### Parametreler

| Değişken | Tür     | Açıklama   |
| -------- | ------- | ---------- |
| name     | char\[] | BOT'un adı |

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

{% hint style="info" %}
Bu fonksiyon geriye **int** değerinde **BOT clientId** numarasını döndürür.
{% endhint %}
