14.03.2015, 09:46
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:
Instead of declaring it with "new".
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 |