saving to a file with Dini? how? doesnt works... REP+
#2

Try it

Код:
switch(dialogid)
    {
        case 599:
        {
            if(!response) return BuildRace = 0;
            new rFile[256];
            format(rFile, sizeof(rFile), "/rRaceSystem/%s.RRACE", RaceName);
            if(!dini_Exists(rFile)) return dini_Create(rFile);
            switch(listitem)
            {
                case 0:
                {
                    RaceMode = 0;
                    dini_IntSet(rFile,"RaceMode", 0);
                }
                case 1:
                {
                    RaceMode = 1;
                    dini_IntSet(rFile, "RaceMode", string);
                }
                case 2:
                {
                    RaceMode = 2;
                    dini_IntSet(rFile,"RaceMode", 2);
                }
            }
            ShowDialog(playerid, 600);
        }
Reply


Messages In This Thread
saving to a file with Dini? how? doesnt works... REP+ - by niels44 - 19.04.2012, 18:27
Re: saving to a file with Dini? how? doesnt works... REP+ - by Xaviour212 - 20.04.2012, 06:24
Re: saving to a file with Dini? how? doesnt works... REP+ - by niels44 - 20.04.2012, 14:01
Re: saving to a file with Dini? how? doesnt works... REP+ - by niels44 - 21.04.2012, 08:39

Forum Jump:


Users browsing this thread: 1 Guest(s)