27.01.2018, 23:49
Try to do it like this if u want to repair your code:
EDIT: otherwise, do what Sew_Sumi writes, he is right.
EDIT: otherwise, do what Sew_Sumi writes, he is right.
Код:
if(strcmp(AccData[playerid][pRank], "No Rank", true)) { if(0 <= GetPlayerScore(playerid) < 50) { dini_Set(AddDirFile("users", GetName(playerid)), "rank", "Newbie"); strcat(AccData[playerid][pRank],"Newbie"); } } else if(strcmp(AccData[playerid][pRank], "Newbie", true)) { if(50 <= GetPlayerScore(playerid) < 100) { dini_Set(AddDirFile("users", GetName(playerid)), "rank", "Pro"); strcat(AccData[playerid][pRank],"Pro"); } } else if(...