13.07.2013, 15:28
pawn Код:
if (strcmp("/loadmyhp", cmdtext, true) == 0)
{
new File:hp=fopen("/UsersHP.ini", io_read), string[200], str[200];
fread(hp, str);
format(string, 200, "The health you saved = %f", floatstr(str));
SendClientMessage(playerid, -1, string);
fclose(hp);
return 1;
}