Need help using Y_INI
#1

Hi,
1.how to add new line in 1 file using y_ini

example:
Код:
AddVeh(vehid,x,y,z);
AddVeh(vehid,x,y,z);
in 1 file


2.how to load the lines
3.how to load all ini files in the folder and read all

example:
Код:
D;/Folder/1.ini
D;/Folder/2.ini

1.ini
AddVeh(vehid,x,y,z);
AddVeh(vehid,x,y,z);
//auto add vehicle in-game

2.ini
AddObj(objid,x,y,z);
AddObj(objid,x,y,z);
//auto add obj in-game
4.and also how to read multiple lines in multiple folder

example:
Код:
D;/Folder/1.ini
D;/Folder/2.ini

1.ini
Line 1 : Test
Line 2 : Hello
Line 3 : Ok

2.ini
Line 1 : Test1
Line 2 : Hello1
Line 3 : Ok1
Reply
#2

use dini2 if you really want to use file-based system, its simpler.
Reply
#3

bump this topic!
Reply
#4

I suggest you to use dini2, its really simple
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)