INI writing spaces
#1

So how to make spaces on WriteInt and WriteFloat etc. functions with Y INI without get any probems on loading the stored values?

Код:
INI_WriteInt(File, "C4s", PlayerInfo[playerid][pStolenC4]);

	// Weapons Ammo Save
	for(new s = 0; s < 12; s++)
	{
		if(PlayerInfo[playerid][pAGuns][s] > 0)
		{
			SaveValidAmmo(playerid);
			format(tag, sizeof(tag), "Weapon Slot %i", s);
			INI_SetTag(File, tag);
			INI_WriteInt(File, "wSlot", PlayerInfo[playerid][pGuns][s]);
			INI_WriteInt(File, "wSlotAmmo", PlayerInfo[playerid][pAGuns][s]);
		}	
	}
	INI_WriteInt(File, "CarTime", PlayerInfo[playerid][pCarTime]);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)