Stats is not being updated.
#5

Quote:
Originally Posted by zSuYaNw
Посмотреть сообщение
pawn Код:
FUNC:StatsUpdater()
{
    for(new i, e = GetMaxPlayers(); i != e; ++i)
    {
        if(IsPlayerConnected(i))
        {
            static
                string[128],
                Float:health,
                Float:armour
            ;
               
            GetPlayerHealth(i, health);
            GetPlayerArmour(i, armour);
           
            format(string, 128,"Name: %s | H: %f | A: %f | Score: %d | Kills: %d | Deaths: %d | Rank: (%d) %s",PlayerName(i),health,armour,GetPlayerScore(i),pInfo[i][Kills],pInfo[i][Deaths],pInfo[i][RankID],pInfo[i][RankName]);
            PlayerTextDrawSetString(i, tStats[i], string);
           
           
         //   PlayerTextDrawShow(i,tStats[i]);
           
            // DEBUG
            printf("%s", string);
        }
    }
    return 1;
}
As same as last result.
Reply


Messages In This Thread
Stats is not being updated. - by Segura - 02.08.2014, 11:47
Re: Stats is not being updated. - by zSuYaNw - 02.08.2014, 11:53
Re: Stats is not being updated. - by Segura - 02.08.2014, 17:47
Re: Stats is not being updated. - by zSuYaNw - 02.08.2014, 18:41
Re: Stats is not being updated. - by Segura - 02.08.2014, 19:39

Forum Jump:


Users browsing this thread: 1 Guest(s)