> For the complete documentation index, see [llms.txt](https://docs.settlers-united.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.settlers-united.com/s4-warriorslib-de/warriorslib-functions/warriorslib.ishuman.md).

# WarriorsLib.isHuman

## `WarriorsLib.isHuman(player)`

Gibt an ob der Spieler von einem Menschen gesteuert wird.

#### Notiz

* Wird ein Spieler abgefragt, der nicht existiert (`0 < player < Game.NumberOfPlayers()`), wird 0 zurückgegeben. **⇒ 0 als Rückgabewert bedeutet nicht zwangsläufig, dass es ein Bot ist!**

#### Rückgabewert

* boolean (0 oder 1)

```lua
dbg.stm(WarriorsLib.getPlayerName(1)..", you are ".. (WarriorsLib.isHuman(1) == 1 and "a Human" or "an AI"))
```
