Getplayerhealth + armour - tag mismatch?
#8

pawn Код:
enum pInfo
    {
        Float:pHealth,
        Float:pArmour
    }
    new PlayerInfo[MAX_PLAYERS][pInfo];

    new Float:PlayersHealth, var[56], File:hFile;
    PlayerInfo[playerid][pHealth] = GetPlayerHealth(playerid,PlayersHealth);
    format(var, 32, "Health=%f\n",PlayerInfo[playerid][pHealth]);
    fwrite(hFile, var);

    new Float:PlayersArmour;
    PlayerInfo[playerid][pArmour] = GetPlayerArmour(playerid,PlayersArmour);
    format(var, 32, "Armour=%f\n",PlayerInfo[playerid][pArmour]);
    fwrite(hFile, var);

Quote:
Originally Posted by ******
Посмотреть сообщение
That is completely wrong - dini can not possibly be faster than custom writes, in fact it is one of the slowest file systems there are.
And I was under the impression that Dini was faster?
Reply


Messages In This Thread
Getplayerhealth + armour - tag mismatch? - by [GTA] - 01.12.2010, 09:52
Re: Getplayerhealth + armour - tag mismatch? - by iggy1 - 01.12.2010, 09:56
Re: Getplayerhealth + armour - tag mismatch? - by Shadow™ - 01.12.2010, 09:57
Re: Getplayerhealth + armour - tag mismatch? - by [GTA] - 01.12.2010, 10:07
Re: Getplayerhealth + armour - tag mismatch? - by Shadow™ - 01.12.2010, 10:09
Re: Getplayerhealth + armour - tag mismatch? - by [GTA] - 01.12.2010, 10:13
Re: Getplayerhealth + armour - tag mismatch? - by iggy1 - 01.12.2010, 10:14
Re: Getplayerhealth + armour - tag mismatch? - by Shadow™ - 01.12.2010, 10:25
Re: Getplayerhealth + armour - tag mismatch? - by [GTA] - 01.12.2010, 10:31
Re: Getplayerhealth + armour - tag mismatch? - by iggy1 - 01.12.2010, 10:34

Forum Jump:


Users browsing this thread: 1 Guest(s)