SA-MP Forums Archive
How to convert dini to Y_ini ? - 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: How to convert dini to Y_ini ? (/showthread.php?tid=376847)



How to convert dini to Y_ini ? - sniperwars - 11.09.2012

Hi guys,

Been a while since I made a thread in the "Scripting Help" board and I would like some help to convert this small bit of code from dini to Y_ini.

Here it is:

pawn Код:
bcash = dUserINT(DrugHouseOwnerName).("Bankcash");
                bcash -=mrand;
                dUserSetINT(DrugHouseOwnerName).("Bankcash",bcash);
I have decided to use some code from the SFCRRPG gamemode. Can anyone convert this to Y_ini ?

Kind regards,

Sean aka sniperwars


Re: How to convert dini to Y_ini ? - sniperwars - 12.09.2012

*Bump.


Re: How to convert dini to Y_ini ? - sniperwars - 13.09.2012

Anyone ?


Re: How to convert dini to Y_ini ? - Kitten - 13.09.2012

Try reading the Y_INI topic.

Ex.
dUserSetINT(DrugHouseOwnerName).("Bankcash",bcash) ; =

INI_WriteInt(DrugHouseOwnerName, "BankCash", bcash);


Re: How to convert dini to Y_ini ? - linuxthefish - 13.09.2012

Y-ini will not offer any noticeable advantages, due to it still being a file based system. Try SQLite.