GetObjectAttachmentInfo: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Server|1.0}} | {{Info|Function|Server|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Gets information on this attached object.}} | ||
{{FuncSyntax|GetObjectAttachmentInfo(object)}} | {{FuncSyntax|GetObjectAttachmentInfo(object)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|object| | {{FuncParam|object|The object identifier.}} | ||
{{FuncReturnValue|Returns two integers. First one being the attach type (ie ATTACH_VEHICLE) and the second one the identifier to what this object is attached to. See [[SetObjectAttached]].}} | {{FuncReturnValue|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 == | == Example == |
Revision as of 01:01, 28 December 2019
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
__EDIT_ME__
See also
__EDIT_ME__