16.07.2012, 17:49
You know why it not save?
PHP код:
public OnGameModeExit()
{
foreach(Player, i) SaveInfo(i);
return 1;
}
stock SaveInfo(playerid)
{
if(!PlayerInfo[playerid][Logged] && fKeyExist(UserFile(playerid), "Password"))
{
fSaveData(UserFile(playerid),"Level<d>Kills<d>AdminLevel<d>", PlayerInfo[playerid][Level], PlayerInfo[playerid][Kills],PlayerInfo[playerid][AdminLvl]);
}
return 1;
}