a problem with my rank system
#3

Try to do it like this if u want to repair your code:

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(...
Reply


Messages In This Thread
a problem with my rank system - by MarkNelson - 27.01.2018, 23:35
Re: a problem with my rank system - by Sew_Sumi - 27.01.2018, 23:47
Re: a problem with my rank system - by Hrb - 27.01.2018, 23:49
Re: a problem with my rank system - by Sew_Sumi - 27.01.2018, 23:52
Re: a problem with my rank system - by MarkNelson - 28.01.2018, 01:09

Forum Jump:


Users browsing this thread: 1 Guest(s)