Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Need help using Y_INI

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

example:
Code:

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:
Code:

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:
Code:

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


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>