# Entity:GetHitBoxCount

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

```lua
number Entity:GetHitBoxCount( number set )
```

## Açıklama

Belirtilen bir hitbox setinde kaç adet hitbox olduğunu alır.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **set**: Hitbox setinin numarası.

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

1. [number](https://gmod.tr/wiki/number): Hitbox sayısı.

### Örnek

İstemcinin, her bir hitbox setindeki hitbox sayısını yazdırır.

```lua
local numHitSetGroups = LocalPlayer():GetHitboxSetCount()

for i = 0, numHitSetGroups - 1 do
	local numHitBoxes = LocalPlayer():GetHitBoxCount( i )
	print( "Hit box set " .. i .. " has " .. numHitBoxes .. " hit boxes!" )
end
```

**Çıktı:** Hitbox seti 0, 17 adet hitboxa sahip!

- [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/Entity:GetHitBoxCount
