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

Funkcja

isElementAttached

Serwer i klientElementyIdentyczna z MTA:SA

Sprawdza, czy element jest przyczepiony do innego.

Składnia

bool isElementAttached(element theElement)

Argumenty

theElementelement
Element.

Zwraca

true, jeśli przyczepiony.

Przykład

if isElementAttached(box) then detachElements(box) end