warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
GetObjectAttachedData
warning
This function was added in omp v1.1.0.2612 and will not work in earlier versions!
Description
Get the attachment data of an object.
Name | Description |
---|---|
objectid | The ID of the object to get the attachment data of |
&parentVehicle | A variable in which to store the parentVehicle ID, passed by reference. |
&parentObject | A variable in which to store the parentObject ID, passed by reference. |
&parentPlayer | A variable in which to store the parentPlayer ID, passed by reference. |
Returns
true
- The function was executed successfully.
false
- The function failed to execute. The object specified does not exist.
Examples
new
parentVehicle,
parentObject,
parentPlayer;
GetObjectAttachedData(objectid, parentVehicle, parentObject, parentPlayer);
Related Functions
- GetObjectAttachedOffset: Get the attachment offset and rotation of an object.
- GetPlayerObjectAttachedData: Get the attachment data of a player-object.