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=Bone
+
|p3t=integer
|p3d=BoneID
+
|p3d=[[Ped Bones|Bone ID]]
 
|p4t=float
 
|p4t=float
 
|p4d=X Offset
 
|p4d=X Offset

Latest revision as of 19:42, 19 January 2013

ATTACH_OBJECT_TO_PED
Number of parameters: 10
Parameter #TypeDescription
1.handleobject handle
2.handleped handle
3.integerBone ID
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.