YSI Loading and saving
#1

I fixed this, i did not know how to make loop for saving and loading lot of lines, so here is how:
Код:
forward LoadUpoznaj(idx, name[], value[]);
public LoadUpoznaj(idx, name[], value[])
{
	 new string[24];
     for(new i=1;i<20;i++)
     {
        format(string,sizeof(string),"Ime_%d",i);
        INI_String(string, UI[idx][i][Imeup], MAX_PLAYER_NAME);
        printf("Ime_%d: %s",i,UI[idx][i][Imeup]);
        continue;
     }
    return 1;
}
Reply


Messages In This Thread
Loop for Y_INI saving/loading [FIXED] - by Dusan01 - 07.10.2015, 18:55
Re: YSI Loading and saving - by Sellize - 08.10.2015, 08:08
Re: YSI Loading and saving - by Dusan01 - 08.10.2015, 08:15

Forum Jump:


Users browsing this thread: 1 Guest(s)