15.04.2010, 11:26
Код:
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;
}
Код:
dini_IntSet(file, "Health", health);
Someone quickly explain and help me?

