Entity:GetHitBoxCount
Açıklama
Belirtilen bir hitbox setinde kaç adet hitbox olduğunu alır.
Argümanlar
Döndürülen Değer
Ö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