Preskoči na glavni sadržaj

GetObjectAttachedData

Upozorenje

Dodano u verziji omp v1.1.0.2612. Ova stavka ne radi u starijim verzijama. Vrsta: funkcija.

Description​

Get the attachment data of an object.

NameDescription
objectidThe ID of the object to get the attachment data of
&parentVehicleA variable in which to store the parentVehicle ID, passed by reference.
&parentObjectA variable in which to store the parentObject ID, passed by reference.
&parentPlayerA 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);