Difference between revisions of "ATTACH OBJECT TO PED"

From GTAMods Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
|p2d=ped handle
 
|p2d=ped handle
 
|p3t=integer
 
|p3t=integer
|p3d=Unknown
+
|p3d=[[Ped Bones|Bone ID]]
 
|p4t=float
 
|p4t=float
 
|p4d=X Offset
 
|p4d=X Offset
|p15=float
+
|p5t=float
 
|p5d=Y Offset
 
|p5d=Y Offset
 
|p6t=float
 
|p6t=float

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.