HEADSHOT script won't work
#9

Just because you didn't define it, it doesn't mean using "new" will define it correctly.
What you did was just declaring a variable, that's set to 0 by default, and you don't change the value anywhere, that simply wont work.

As said on the wiki, you need to use #define to define the bodyparts manually, like this:
Quote:
#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

Instead of declaring it with "new".
Reply


Messages In This Thread
HEADSHOT script won't work - by Fantje - 13.03.2015, 21:25
Re: HEADSHOT script won't work - by CalvinC - 13.03.2015, 21:34
Re: HEADSHOT script won't work - by Fantje - 13.03.2015, 22:06
Respuesta: HEADSHOT script won't work - by JuanStone - 13.03.2015, 22:13
Re: HEADSHOT script won't work - by Fantje - 13.03.2015, 22:18
Re: HEADSHOT script won't work - by Vince - 13.03.2015, 22:18
Re: HEADSHOT script won't work - by Mijata - 13.03.2015, 22:26
Re: HEADSHOT script won't work - by Fantje - 14.03.2015, 09:16
Re: HEADSHOT script won't work - by CalvinC - 14.03.2015, 09:46

Forum Jump:


Users browsing this thread: 3 Guest(s)