Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
The new bodypart parameter in OnPlayerGive/TakeDamage doesn't have values defined in any SA-MP includes. I am told they are different to the 'bone' IDs for SetPlayerAttachedObject. What are they?
Posts: 937
Threads: 69
Joined: Dec 2009
Reputation:
0
However it seems that they are the same as bone ID's since it links to the bone id's at the wiki page. Who told you that they are different?
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
I made the wiki page and assumed they were the same due to the lack of definitions. Page edited. Apologies for the confusion.
Posts: 2,262
Threads: 260
Joined: Mar 2009
Reputation:
0
#define WEAPON_BODY_PART_CHEST 3
#define WEAPON_BODY_PART_CROTCH 4
#define WEAPON_BODY_PART_LEFT_ARM 5
#define WEAPON_BODY_PART_RIGHT_ARM 6
#define WEAPON_BODY_PART_LEFT_LEG 7
#define WEAPON_BODY_PART_RIGHT_LEG 8
#define WEAPON_BODY_PART_HEAD 9