Loop + SII Ini writing problem
#2

INI_WriteInt("KMDriven\n", pKMs[playerid]);

The \n isn't needed since SII creates it automatically. Also, use print() to check if if its loading/saving correctly.

pawn Код:
for(new b; b < sizeof(ServerShop); b++)
        {
            if(ServerShop[b][shop_unlocked][playerid] == 1)
            {
                format(string, sizeof(string),"%s", ServerShop[b][shop_name]);
                print(string);
                INI_WriteInt(string, 1);
            }
        }
Reply


Messages In This Thread
Loop + SII Ini writing problem - by knackworst - 21.10.2011, 16:08
Re: Loop + SII Ini writing problem - by [L3th4l] - 21.10.2011, 16:24
Re: Loop + SII Ini writing problem - by knackworst - 21.10.2011, 16:30

Forum Jump:


Users browsing this thread: 1 Guest(s)