16.05.2016, 06:01
Код:
GetRankName(rankid) { new str[128]; format(str, sizeof(str), rInfo[rankid][Name]); return str; } GetPlayerRank(playerid) { for(new i = 0; i < sizeof(rInfo[]); i++) { if(GetPlayerScore(playerid) >= rInfo[i][ScoreMin] && GetPlayerScore(playerid) <= rInfo[i][ScoreMax]) { return GetRankName(i); } } return 1; //error line }