ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. getElementBoneAttachmentDetails

Function

getElementBoneAttachmentDetails

ServerElementsTrilogy Hub only

The same as getElementBoneAttachment (another name for compatibility with scripts).

Syntax

mixed getElementBoneAttachmentDetails(element theElement)

Arguments

theElementelement
The element.

Returns

ped, bone, x, y, z, rx, ry, rz, follow, or false.

Example

local ped, bone = getElementBoneAttachmentDetails(box)

See also