[Ajuda] Patente
#1

Gostaria de saber por que nгo estб atualizando as patente:

Cуdigo:

pawn Код:
stock GetarRank(playerid)
{
    new NomeRank[30];
   
    if(PlayerDados[playerid][Level] == 0) { NomeRank = "Novato"; }
    if(PlayerDados[playerid][Level] == 1) { NomeRank = "Recruta"; }
    if(PlayerDados[playerid][Level] == 2) { NomeRank = "Soldado"; }
    if(PlayerDados[playerid][Level] == 3) { NomeRank = "Cabo"; }
    if(PlayerDados[playerid][Level] == 4) { NomeRank = "Sargento"; }
   
    return NomeRank;
}
Forward pбra atualizar:

pawn Код:
forward Atualizar(); public Atualizar()
{
                new PatentesDoDioner[128];
        format(PatentesDoDioner, 128, "~g~~h~     ~>~Ranking~<~~n~~h~    %s", GetarRank(x));
        TextDrawSetString(Patentes, PatentesDoDioner);
        TextDrawShowForPlayer(x, Patentes);
          return 1;
}
Reply


Messages In This Thread
Patente - by Gleisson_. - 29.06.2013, 23:27
Re: Patente - by Rodney Francalim - 29.06.2013, 23:31
Re: Patente - by Gleisson_. - 29.06.2013, 23:38
Re: Patente - by [THs]ShadoW - 29.06.2013, 23:46
Re: Patente - by Gleisson_. - 29.06.2013, 23:51
Re: Patente - by Gustavo_Carvalho - 29.06.2013, 23:56
Re: Patente - by Gleisson_. - 30.06.2013, 00:02
Re: Patente - by Gustavo_Carvalho - 30.06.2013, 00:13
Re: Patente - by StrondA_ - 30.06.2013, 02:03

Forum Jump:


Users browsing this thread: 1 Guest(s)