04.04.2012, 05:20
pawn Код:
enum PlayerInfo
{
Float:Health,
Float:Armour
};
new pInfo[MAX_PLAYERS][pInfo];
new Float:hp, Float:armour;
GetPlayerHealth(playerid, hp)
pInfo[playerid][Health] = hp;
GetPlayerArmour(playerid, armour);
pInfo[playerid][Armour] = armour;
INI_WriteFloat(iFile, "Health", pInfo[playerid][Health]);
INI_WriteFloat(iFile, "Armour", pInfo[playerid][Armour]);