21.10.2011, 16:24
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.
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);
}
}