Difference between revisions of "ATTACH OBJECT TO PED"

From GTAMods Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Native
 
{{Native
|np=6
+
|np=10
|np=1
+
|p1t=handle
|p1t=pointer
+
|p1d=object handle
|p1d=created object handle
+
|p2t=handle
|np=2
+
|p2d=ped handle
|p2t=pointer
 
|p2d=character variable
 
|np=3
 
 
|p3t=integer
 
|p3t=integer
|p3d=Unknown
+
|p3d=[[Ped Bones|Bone ID]]
|np=4
+
|p4t=float
|p4t=integer
 
 
|p4d=X Offset
 
|p4d=X Offset
|np=5
+
|p5t=float
|p15=integer
 
 
|p5d=Y Offset
 
|p5d=Y Offset
|np=6
+
|p6t=float
|p6t=integer
 
 
|p6d=Z Offset
 
|p6d=Z Offset
|np=7
+
|p7t=float
|p7t=integer
 
 
|p7d=RotoOffset X
 
|p7d=RotoOffset X
|np=8
+
|p8t=float
|p8t=integer
 
 
|p8d=RotoOffset Y
 
|p8d=RotoOffset Y
|np=9
+
|p9t=float
|p9t=integer
 
 
|p9d=RotoOffset Z
 
|p9d=RotoOffset Z
|np=10
 
 
|p10t=integer
 
|p10t=integer
 
|p10d=Unknown (Always 0?)
 
|p10d=Unknown (Always 0?)
 
}}
 
}}
 
+
This function attaches an object to the ped.
 
+
{{stub}}
'''Explanation:'''
 
 
 
- Attaches object to character model
 
 
 
- '''ATTACH_OBJECT_TO_PED''' (MyObject,  Player.Character, 1219, 8.00, -1, 3328, 0, 0, 0, 0)
 
 
 
' NOTE THAT THIS FUNCTIONS ARE STILL UNDER TESTING
 

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.