GetObjectAttachmentInfo

From Onset Developer Wiki
Revision as of 14:31, 26 June 2021 by FlyingFork (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetObjectAttachmentInfo

Type: Function
Context: Server
Introduced: v1.0

Description

Gets information on this attached object.

Syntax

GetObjectAttachmentInfo(object)

Parameters

  • object
    The object identifier.

Return Value

  • Returns two integers. First one being the attach type (ie ATTACH_VEHICLE, AttachType) and the second one the identifier to what this object is attached to. See SetObjectAttached.

Example

print("Object Attach Information: " .. GetObjectAttachmentInfo(object))

See also