How to convert dini to Y_ini ?
#1

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
Reply
#2

*Bump.
Reply
#3

Anyone ?
Reply
#4

Try reading the Y_INI topic.

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

INI_WriteInt(DrugHouseOwnerName, "BankCash", bcash);
Reply
#5

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


Forum Jump:


Users browsing this thread: 1 Guest(s)