29.10.2018, 05:47
PHP код:
stock GetvpFromLevel(playerid)
{
new vp[40];
switch(PlayerInfo[playerid][score])
{
case 0..10: vp = "Player";
case 11..20:vp = "Rank 1";
case 21..30:vp = "Rank 2";
case 31..40:vp = "Rank 3";
case 41..50:vp = "pro";
case 51..60:vp = "killer noob 5";
case 61..70:vp = "killer pro6";
}
return vp;
}