SA-MP Forums Archive
Bodyparts - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Bodyparts (/showthread.php?tid=596010)



Bodyparts - JaKe Elite - 11.12.2015

I am not sure if the bodyparts were updated on 0.3.7.
But i have seen on PaulDanim's damage counter system (I am modifying it heavily with his credits on the script). Bodypart ID 4 is groin but base on wiki, bodypart id 4 is Chest. I thought Chest is Torso or uhm?? I am confused.

I am so sorry if i have posted this on the wrong section. Any help would be appreciated.

Sorry if i have a broken grammar or somethin'


Re: Bodyparts - Sebz - 11.12.2015

#define BODY_PART_TORSO 3
#define BODY_PART_GROIN 4
#define BODY_PART_LEFT_ARM 5
#define BODY_PART_RIGHT_ARM 6
#define BODY_PART_LEFT_LEG 7
#define BODY_PART_RIGHT_LEG 8
#define BODY_PART_HEAD 9

(Yes, the wiki does say CHEST, but in fact, if you shoot someone in the groin with these values, it does in fact return the groin bodypart. Not sure why/how this happened, but 4 is groin/genitals.)


Re: Bodyparts - vassilis - 11.12.2015

PHP код:
#define BODY_PART_TORSO 3
#define BODY_PART_GROIN 4
#define BODY_PART_LEFT_ARM 5
#define BODY_PART_RIGHT_ARM 6
#define BODY_PART_LEFT_LEG 7
#define BODY_PART_RIGHT_LEG 8
#define BODY_PART_HEAD 9 
EDIT: ALREADY REPLIED sorry
EDIT2: Chest is supposed to be TORSO