Can someone explain me how does y_ini save work and how can I open it later. I looked at all tutorials but I dont understand I know that u save stuff with INI_WriteInt(File," ",0); but how can i save someones input like if someone inputs number 11 in dialog how can I save it? Or lets say there is register and login system and they need to type their age and gender how can I save that.
Hmm.
Just like register system. create a INI ssytem like login dialog. to age thats it
- Do not use INI to save/load player stats for various reasons which are mentioned in that tutorial.
pawn Код:
new INI:ini = INI_Open("TST1.txt");
INI_SetTag(ini, "XXXX");
INI_WriteString(ini,"k","1234");
INI_WriteString(ini,"k2","1234");
INI_WriteString(ini,"k3","1234");
INI_WriteString(ini,"k4","1234");
INI_WriteString(ini,"k5","1234");
INI_SetTag(ini, "XXXX2");
INI_WriteString(ini,"k","1234");
INI_WriteString(ini,"k2","1234");
INI_WriteString(ini,"k3","1234");
INI_WriteString(ini,"k4","1234");
INI_WriteString(ini,"k5","1234");
INI_Close(ini);