array must be indexed
#3

Код:
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;
}
This ?
Reply


Messages In This Thread
array must be indexed - by DonBonanno - 31.03.2015, 18:25
Re : array must be indexed - by StreetRP - 31.03.2015, 18:26
Re: array must be indexed - by DonBonanno - 31.03.2015, 18:29
Re: array must be indexed - by DonBonanno - 31.03.2015, 19:34
Re: array must be indexed - by zT KiNgKoNg - 31.03.2015, 19:47
Re: array must be indexed - by DonBonanno - 31.03.2015, 20:01
Re: array must be indexed - by DonBonanno - 02.04.2015, 19:05
Re: array must be indexed - by Lordzy - 02.04.2015, 19:17
Re: array must be indexed - by DonBonanno - 02.04.2015, 20:04
Re: array must be indexed - by PowerPC603 - 02.04.2015, 20:59

Forum Jump:


Users browsing this thread: 2 Guest(s)