Difference between revisions of "ATTACH OBJECT TO PED"

From GTAMods Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
|p2t=handle
 
|p2t=handle
 
|p2d=ped handle
 
|p2d=ped handle
|p3t=integer
+
|p3t=Bone
|p3d=Unknown
+
|p3d=BoneID
 
|p4t=float
 
|p4t=float
 
|p4d=X Offset
 
|p4d=X Offset

Revision as of 19:41, 19 January 2013

ATTACH_OBJECT_TO_PED
Number of parameters: 10
Parameter #TypeDescription
1.handleobject handle
2.handleped handle
3.BoneBoneID
4.floatX Offset
5.floatY Offset
6.floatZ Offset
7.floatRotoOffset X
8.floatRotoOffset Y
9.floatRotoOffset Z
10.integerUnknown (Always 0?)
Return value:
TypeDescription
None

This function attaches an object to the ped.