04.06.2013, 11:05
Im working on a /adjustrankname but i have some problems with y_ini (Don't have much expierence with it)
After making this:
If i try to compile i get the error Pawn Compiler has stopped working.
Solutions, Any help?
After making this:
pawn Код:
new
fileToWrite[] = "factionranks.INI",
INI:iniFile = INI_Open(fileToWrite);
new rank1[128],rank2[128],rank3[128],rank4[128],rank5[128],rank6[128],rank7[128],rank8[128],rank9[128],rank10[128]
INI_SetTag(iniFile, "lspd");
INI_WriteString(iniFile, "rank1",rank1, sizeof(rank1);
INI_WriteString(IniFile, "rank2",rank2, sizeof(rank2);
INI_WriteString(IniFile, "rank3",rank3, sizeof(rank3);
INI_WriteString(IniFile, "rank4",rank4, sizeof(rank4);
INI_WriteString(IniFile, "rank5",rank5, sizeof(rank5);
INI_WriteString(IniFile, "rank6",rank6, sizeof(rank6);
INI_WriteString(IniFile, "rank7",rank7, sizeof(rank7);
INI_WriteString(IniFile, "rank8",rank8, sizeof(rank8);
INI_WriteString(IniFile, "rank9",rank9, sizeof(rank9);
INI_WriteString(IniFile, "rank10",rank10, sizeof(rank10);
INI_Close(iniFile);
Solutions, Any help?