05.11.2015, 11:25
PHP код:
aR(playerid)
{
new ranks[555];
if(GetPlayerScore(playerid) => 10 && GetPlayerScore(playerid) =< 19) ranks = "Level 1";
if(GetPlayerScore(playerid) => 20 && GetPlayerScore(playerid) =< 39) ranks = "Level 2";
if(GetPlayerScore(playerid) => 40 && GetPlayerScore(playerid) =< 69) ranks = "Level 3";
if(GetPlayerScore(playerid) >= 70) ranks = "Level 4";
return ranks;
}