Difference between revisions of "ATTACH OBJECT TO PED"
Jump to navigation
Jump to search
| Line 21: | Line 21: | ||
|np=7 | |np=7 | ||
|p7t=integer | |p7t=integer | ||
| − | |p7d=Z | + | |p7d=RotoOffset X |
| + | |np=8 | ||
| + | |p8t=integer | ||
| + | |p8d=RotoOffset Y | ||
| + | |np=9 | ||
| + | |p9t=integer | ||
| + | |p9d=RotoOffset Z | ||
| + | |np=10 | ||
| + | |p10t=integer | ||
| + | |p10d=Unknown (Always 0?) | ||
}} | }} | ||
| Line 29: | Line 38: | ||
- Attaches object to character model | - Attaches object to character model | ||
| − | - '''ATTACH_OBJECT_TO_PED''' (MyObject, Player.Character, 1219, 8.00, -1, 3328) | + | - '''ATTACH_OBJECT_TO_PED''' (MyObject, Player.Character, 1219, 8.00, -1, 3328, 0, 0, 0, 0) |
' NOTE THAT THIS FUNCTIONS ARE STILL UNDER TESTING | ' NOTE THAT THIS FUNCTIONS ARE STILL UNDER TESTING | ||
Revision as of 16:24, 20 January 2009
| Number of parameters: 10 | ||
|---|---|---|
| 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 | RotoOffset X |
| 8. | integer | RotoOffset Y |
| 9. | integer | RotoOffset Z |
| 10. | integer | Unknown (Always 0?) |
| Return value: | ||
| Type | Description | |
| None | ||
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