> 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-lua-api-de/library-functions/game/game.playerrace.md).

# Game.PlayerRace

## `Game.PlayerRace(Spieler)`

Gibt aus, welches Volk der Spieler gewählt hat.

#### Rückgabewert

0 für Römer, 1 für Wikinger, 2 für Mayas, 3 für das Dunkle Volk, 4 für Trojaner.

#### Beispiel

```lua
Game.PlayerRace(1)
```
