31.03.2015, 18:29
Код:
GetBodyPartName(bodypart) { new part[20]; switch(bodypart) { case BODY_PART_TORSO: part = "BUST"; case BODY_PART_GROIN: part = "SOLD"; case BODY_PART_LEFT_ARM: part = "MANA STANGA"; case BODY_PART_RIGHT_ARM: part = "MANA DREAPTA"; case BODY_PART_LEFT_LEG: part = "PICIORUL STANG"; case BODY_PART_RIGHT_LEG: part = "PICIORUL DREPT"; case BODY_PART_HEAD: part = "CAP"; default: part = "NIMIC"; } return part; }