Health and Armour? (Y_INI)
#10

Quote:
Originally Posted by eesh
Посмотреть сообщение
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]);
It works for me! Thanks
Reply


Messages In This Thread
Health and Armour? (Y_INI) - by Reklez - 04.04.2012, 05:13
Re: Health and Armour? (Y_INI) - by eesh - 04.04.2012, 05:20
Re: Health and Armour? (Y_INI) - by Reklez - 04.04.2012, 05:25
Re: Health and Armour? (Y_INI) - by eesh - 04.04.2012, 05:45
Re: Health and Armour? (Y_INI) - by Reklez - 04.04.2012, 06:05
Re: Health and Armour? (Y_INI) - by Harish - 04.04.2012, 07:38
Re: Health and Armour? (Y_INI) - by Reklez - 04.04.2012, 07:43
Re: Health and Armour? (Y_INI) - by Harish - 04.04.2012, 07:50
Re: Health and Armour? (Y_INI) - by [ABK]Antonio - 04.04.2012, 07:50
Re: Health and Armour? (Y_INI) - by Hayden_Almeida - 04.11.2015, 01:42

Forum Jump:


Users browsing this thread: 2 Guest(s)