# team.SetUp

- **Ortam:** İstemci, Sunucu
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/team.SetUp
- **Çeviri tarihi:** 2026-05-13

```lua
team.SetUp( number teamIndex, string teamName, Color teamColor, boolean isJoinable = true )
```

## Açıklama

Yeni bir takım oluşturuyor. [GM:CreateTeams](https://gmod.tr/wiki/GM:CreateTeams) Bunu haber vermesi için.

## Argümanlar

1.. [numara](https://gmod.tr/wiki/number) **teamIndex**: Takım indeksi.
2.. [dizgin](https://gmod.tr/wiki/string) **Takım Adı**: Takım adı.
3.. [Renk](https://gmod.tr/wiki/Color) **TeamColor**: Takım rengi. [Renk](https://gmod.tr/wiki/Color).
4.. [Boolean](https://gmod.tr/wiki/boolean) **Katılabilir.** = doğru: Takıma katılıp katılmadığı.

### Örnek

Adıyla takım 2 oluştur. `Mingebags` ve kırmızı renk.

```lua
team.SetUp(2, "Mingebags", Color(255, 0, 0))
```

- [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/team.SetUp
