Body Parts

From SA-MP Wiki

Jump to: navigation, search

To be used with OnPlayerGiveDamage, OnPlayerTakeDamage and OnPlayerGiveDamageActor.

ID Body Part
3 BODY_PART_CHEST
4 BODY_PART_TORSO (GROIN AREA)
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-Circle-style-warning.png

Important
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.


Image:32px-Ambox_warning_orange.png

Note

BODY_PART_TORSO is the groin / lower stomach area for the hitbox, not the same as the chest
Personal tools
In other languages