- Dokumentacja
- Funkcje serwera
- getElementColShape
Funkcja
getElementColShape
Zwraca strefę kolizji przypisaną do znacznika albo pickupa.
Składnia
colshape getElementColShape(element theElement)Argumenty
theElementelement- Znacznik albo pickup.
Zwraca
Strefa albo false.
Przykład
local shape = getElementColShape(marker)
if shape then
outputServerLog("W znaczniku: " .. #getElementsWithinColShape(shape, "player"))
end