# team.GetSpawnPoints

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

```lua
table team.GetSpawnPoints( number index )
```

## Açıklama

Takımın kullanabileceği geçerli doğma noktası (spawnpoint) varlıklarının bir tablosunu döndürür. Bu noktalar [team.SetSpawnPoint](https://gmod.tr/wiki/team.SetSpawnPoint) ile ayarlanır.

## Argümanlar

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

## Dönen Değerler

1. [table](https://gmod.tr/wiki/table): Geçerli doğma noktası (spawnpoint) varlıkları

### Örnek

`TEAM_RED` için rastgele bir doğma noktası varlığını konsola yazdırır.

```lua
print(table.Random(team.GetSpawnPoints(TEAM_RED)))
```

**Çıktı:** Doğma Noktası Varlığı

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