# team.GetScore

- **Ortam:** İstemci, Sunucu
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/team.GetScore
- **Çeviri tarihi:** 2025-09-08

```lua
number team.GetScore( number teamIndex )
```

## Açıklama

Takımın skorunu döndürür.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **teamIndex**: Takım indeksi.

## Döndürülen Değer

1. [number](https://gmod.tr/wiki/number): skor

### Örnek

Takımların skorunu alır; ayarladığınız takım sayısına bağlı olarak 1 veya 2 gibi bir sayı olabilir.

```lua
print(team.GetScore(ply:Team()),team.GetScore(1))
```

**Çıktı:** 1

- [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.GetScore
