SII dont saving Stats
#1

|Hey guys i want to make and register and login system and its working but i got this problem its not saving it to "Users/%.ini"
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    if(INI_Open(getINI(playerid))) {

    INI_WriteInt("Level",GetPlayerScore(playerid));
    INI_WriteInt("Novac",GetPlayerMoney(playerid));
    INI_WriteInt("Admin",PlayerInfo[playerid][pAdmin]);
    INI_WriteInt("Organizacija",PlayerInfo[playerid][pOrganizacija]);
    INI_WriteInt("Suporter",PlayerInfo[playerid][pSuporter]);
    INI_WriteInt("Kuca",PlayerInfo[playerid][pKuca]);
    INI_WriteInt("Vozilo",PlayerInfo[playerid][pVozilo]);
    INI_WriteInt("Bankovni",PlayerInfo[playerid][pBankRacun]);
    INI_WriteInt("Posao",PlayerInfo[playerid][pPosao]);
    INI_WriteInt("Upozorenja",PlayerInfo[playerid][pUpozorenja]);
    INI_WriteInt("Mutovan",PlayerInfo[playerid][pMutovan]);
    INI_WriteInt("Banovan",PlayerInfo[playerid][pBanovan]);
   
    INI_Save();
    INI_Close();
    }
    return 1;
}
btw here is the tutorial: Click me.
Reply


Messages In This Thread
SII dont saving Stats - by MatriXgaMer - 11.01.2014, 20:29
Re: SII dont saving Stats - by Jimmy0wns - 11.01.2014, 20:56
Re: SII dont saving Stats - by MatriXgaMer - 11.01.2014, 21:00
Re: SII dont saving Stats - by Hansrutger - 11.01.2014, 21:49

Forum Jump:


Users browsing this thread: 1 Guest(s)