SA-MP Forums Archive
dini to Y_ini Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: dini to Y_ini Help (/showthread.php?tid=456486)



dini to Y_ini Help - TranquiliZed - 06.08.2013

How would I convert this to y_ini
pawn Код:
new file[64];
format(file, sizeof(file), "factions/LSPD.ini");
format(FacInfo[1][facLeader], MAX_PLAYER_NAME, %s, dini_Get(file, "LSPDLeader"));
format(FacInfo[1][facMembers], 8, "%s", dini_Get(file, "LSPDMembers"));
format(FacInfo[1][fRank0], 32, "%s", dini_Get(file, "Rank0"));
format(FacInfo[1][fRank1], 32, "%s", dini_Get(file, "Rank1"));
format(FacInfo[1][fRank2], 32, "%s", dini_Get(file, "Rank2"));
format(FacInfo[1][fRank3], 32, "%s", dini_Get(file, "Rank3"));
format(FacInfo[1][fRank4], 32, "%s", dini_Get(file, "Rank4"));
format(FacInfo[1][fRank5], 32, "%s", dini_Get(file, "Rank5"));
format(FacInfo[1][fRank6], 32, "%s", dini_Get(file, "Rank6"));
format(FacInfo[1][fDiv1], 32, "%s", dini_Get(file, "Div1"));
format(FacInfo[1][fDiv2], 32, "%s", dini_Get(file, "Div2"));
format(FacInfo[1][fDiv3], 32, "%s", dini_Get(file, "Div3"));
format(FacInfo[1][fDiv4], 32, "%s", dini_Get(file, "Div4"));



Re: dini to Y_ini Help - dEcooR - 06.08.2013

https://sampforum.blast.hk/showthread.php?tid=175565
please read it there is tutorial.


Re: dini to Y_ini Help - TranquiliZed - 06.08.2013

Quote:
Originally Posted by dEcooR
Посмотреть сообщение
I have looked at this already. It doesn't help me any. Could you like the first 4 lines? Would help me out great


Re: dini to Y_ini Help - TranquiliZed - 06.08.2013

Bump, need urgently