SerweryWłasny serwerDla twórcówForumFAQDokumentacjaBezpieczeństwo
Pobierz launcher
  1. Dokumentacja
  2. Funkcje wspólne
  3. isElementAttachedToBone

Funkcja

isElementAttachedToBone

Serwer i klientElementyTylko Trilogy Hub

Sprawdza, czy element jest przyczepiony do kości postaci.

Składnia

bool isElementAttachedToBone(element theElement)

Argumenty

theElementelement
Element.

Zwraca

true, jeśli wisi na kości.

Przykład

if isElementAttachedToBone(hat) then
    detachElementFromBone(hat)
end

Zobacz też