18.01.2014, 17:20
Quote:
|
You know you can just do this (for static strings)?
![]() Код:
stock GetBoneName(bodypart)
{
new BoneName[10];
switch(bodypart)
{
case 3: BoneName = "Torso";
case 4: BoneName = "Groin";
case 5: BoneName = "Left Arm";
case 6: BoneName = "Right Arm";
case 7: BoneName = "Left Leg";
case 8: BoneName = "Right Leg";
case 9: BoneName = "Head";
}
return BoneName;
}
|


