Y_ini: leaving a space just before tags?
#3

I think you can do it like this:

Wherever you save your userfile stats:

pawn Код:
// first tag & input
INI_SetTag(ini, "Account Info");
INI_WriteString(ini, "NAME", "******");
INI_WriteInt(ini, "SCORE", gScore);

// second tag & input
INI_SetTag(ini, "House Info");
INI_WriteInt(ini, "House Owner", pInfo[playerid][HouseOwner]);
INI_WriteInt(ini, "House Keys", pInfo[playerid][HouseKeys]);

// third tag & input
INI_SetTag(ini, "Vehicle Info");
INI_WriteInt(ini, "Vehicle Owner", pInfo[playerid][VehicleOwner]);
INI_WriteInt(ini, "Vehicle Keys", pInfo[playerid][VehicleKeys]);

//etc
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)