Entity:GetHitBoxCount

  number Entity:GetHitBoxCount( number set )

Açıklama

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

Argümanlar

1 number set
Hitbox setinin numarası.

Döndürülen Değer

1 number
Hitbox sayısı.

Örnek

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

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!

Tüm sunucular · GmodTR Launcher · Rehber · GMod Wiki · GmodTR nedir? · Sunucu ekle · Discord