ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. isElementAttached

Function

isElementAttached

Server and clientElementsIdentical to MTA:SA

Checks whether an element is attached to another.

Syntax

bool isElementAttached(element theElement)

Arguments

theElementelement
The element.

Returns

true if attached.

Example

if isElementAttached(box) then detachElements(box) end