Quick one: tag mismatch?
#1

Код:
public OnPlayerDisconnect(playerid, reason)
{
	IsLogged[playerid] = 0;
	new file[128];
  new logname[MAX_PLAYER_NAME];
  GetPlayerName(playerid, logname, sizeof(logname));
  format(file,sizeof(file),"%s.ini",logname);
	new cash;
	cash = GetPlayerMoney(playerid);
  dini_IntSet(file,"Cash", cash);
  dini_IntSet(file, "AdminLevel", PlayerInfo[playerid][AdminLevel]);
  dini_IntSet(file, "RentCard", PlayerInfo[playerid][RentCard]);
  new Float:health;
	GetPlayerHealth(playerid, health);
	dini_IntSet(file, "Health", health);
	return 1;
}
I get a tag mismatch in this line:

Код:
	dini_IntSet(file, "Health", health);
I have no idea, but I guess it's some obvious reason that I fail at seeing.

Someone quickly explain and help me?
Reply


Messages In This Thread
Quick one: tag mismatch? - by IcyBlight - 15.04.2010, 11:26
Re: Quick one: tag mismatch? - by Simon - 15.04.2010, 11:56

Forum Jump:


Users browsing this thread: 1 Guest(s)