Body Parts

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:40, 8 September 2016
Dragony92 (Talk | contribs)
(Swaping "BODY_PART_CHEST" and "BODY_PART_TORSO" because their IDs were not correct.)
← Previous diff
Revision as of 05:06, 3 May 2017
ZiGGi (Talk | contribs)

Next diff →
Line 7: Line 7:
|- |-
| 3 | 3
-| BODY_PART_CHEST+| BODY_PART_TORSO
|- |-
| 4 | 4
-| BODY_PART_TORSO (GROIN AREA)+| BODY_PART_GROIN
|- |-
| 5 | 5
Line 29: Line 29:
-{{note2|These IDs are not 100% confirmed, and are not defined in any SA-MP includes - they must be defined by the scripter. It is unknown if IDs 0, 1 and 2 have any use.}}+{{note|These IDs are not 100% confirmed, and are not defined in any SA-MP includes - they must be defined by the scripter. It is unknown if IDs 0, 1 and 2 have any use.}}
- +
-{{note|BODY_PART_TORSO is the groin / lower stomach area for the hitbox, not the same as the chest}}+
[[Category:Scripting Documentation]] [[Category:Scripting Documentation]]
[[fr:Body_Parts]] [[fr:Body_Parts]]

Revision as of 05:06, 3 May 2017

To be used with OnPlayerGiveDamage, OnPlayerTakeDamage and OnPlayerGiveDamageActor.

ID Body Part
3 BODY_PART_TORSO
4 BODY_PART_GROIN
5 BODY_PART_LEFT_ARM
6 BODY_PART_RIGHT_ARM
7 BODY_PART_LEFT_LEG
8 BODY_PART_RIGHT_LEG
9 BODY_PART_HEAD


Image:32px-Ambox_warning_orange.png

Note

These IDs are not 100% confirmed, and are not defined in any SA-MP includes - they must be defined by the scripter. It is unknown if IDs 0, 1 and 2 have any use.
Personal tools
In other languages