[HELP] GetPlayerRank
#1

Hello,



Код:
stock GetPlayerRank(playerid)
{
	new rank[100];
	
	switch(Kills3[playerid])
	{
	case 0..25:rank = "Newbie Shooter";
	case 26..75:rank = "Killer Shooter";
	case 76..150:rank = "Master Shooter";
	case 151..300:rank = "Pro Shooter";
	case 301..450:rank = "Striker Shooter";
	case 451..675:rank = "Freekill Shooter";
	case 676..1000:rank = "Psycho Shooter";
	case 1001..1500:rank = "Fatal Shooter";
	case 1501..2250:rank = "Havoc Shooter";
	case 2251..3375:rank = "Extreme Shooter";
	case 3376..5100:rank = "Wild Shooter";
	case 5101..7650:rank = "Hazardous Shooter";
	case 7651..11475:rank = "IGI Shooter";
	case 11476..17500:rank = "Tactical Shooter";
	case 17501..26250:rank = "Deticated Shooter";
	case 26251..39375:rank = "Insane Shooter";
	case 39376..60000:rank = "The Real Shooter";
	case 60001..100000:rank = "Professional Shooter";
	case 100001..150000:rank = "Rockstar Shooter";
	}
	
	return rank;
}
ok i make this function for Getting Player Ranks:
this function works but Compile Time too much maybe 3 or 4 minutes

can u guyz plz tell me how i make GetPlayerRank func with another method ??

Please Help..
Reply


Messages In This Thread
[HELP] GetPlayerRank - by serman - 01.10.2011, 15:28
Re: [HELP] GetPlayerRank - by MadeMan - 01.10.2011, 15:52
Re: [HELP] GetPlayerRank - by serman - 01.10.2011, 16:06

Forum Jump:


Users browsing this thread: 1 Guest(s)