Difference between revisions of "ATTACH OBJECT TO PED"
Jump to navigation
Jump to search
(New page: '''ATTACH_OBJECT_TO_PED''' [OBJECT, CHAR, UNKNOWN1, X, Y, Z, UNKNOWN2] OBJECT represents object handle, of an attaching item. CHAR - handle of character object, where item is being attac...) |
|||
Line 1: | Line 1: | ||
− | + | {{Native | |
+ | |np=6 | ||
+ | |np=1 | ||
+ | |p1t=pointer | ||
+ | |p1d=created object handle | ||
+ | |np=2 | ||
+ | |p2t=pointer | ||
+ | |p2d=character variable | ||
+ | |np=3 | ||
+ | |p3t=integer | ||
+ | |p3d=Unknown | ||
+ | |np=4 | ||
+ | |p4t=integer | ||
+ | |p4d=X Offset | ||
+ | |np=5 | ||
+ | |p15=integer | ||
+ | |p5d=Y Offset | ||
+ | |np=6 | ||
+ | |p6t=integer | ||
+ | |p6d=Z Offset | ||
+ | |np=7 | ||
+ | |p7t=integer | ||
+ | |p7d=Z Offset | ||
+ | }} | ||
− | |||
− | + | '''Explanation:''' | |
− | + | - Attaches object to character model | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | - '''ATTACH_OBJECT_TO_PED''' (MyObject, Player.Character, 1219, 8.00, -1, 3328) | ||
' NOTE THAT THIS FUNCTIONS ARE STILL UNDER TESTING | ' NOTE THAT THIS FUNCTIONS ARE STILL UNDER TESTING | ||
− |
Revision as of 16:21, 20 January 2009
Number of parameters: 7 | ||
---|---|---|
Parameter # | Type | Description |
1. | pointer | created object handle |
2. | pointer | character variable |
3. | integer | Unknown |
4. | integer | X Offset |
6. | integer | Z Offset |
7. | integer | Z Offset |
Return value: | ||
Type | Description | |
None |
Explanation:
- Attaches object to character model
- ATTACH_OBJECT_TO_PED (MyObject, Player.Character, 1219, 8.00, -1, 3328)
' NOTE THAT THIS FUNCTIONS ARE STILL UNDER TESTING