How to save INI file serial by - 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 save INI file serial by (
/showthread.php?tid=633851)
How to save INI file serial by -
akib - 08.05.2017
Hi
how to save ini files like
0.ini
1.ini
2.ini
Re: How to save INI file serial by -
DarkSkull - 08.05.2017
There are around 100 tutorials on how to save using Y_INI. I suggest you read them. As for the path, Format the path like this.
PHP код:
format(string,sizeof(string),"/Users/%d.ini",id);
Re: How to save INI file serial by -
GTLS - 08.05.2017
Quote:
Originally Posted by DarkSkull
There are around 100 tutorials on how to save using Y_INI. I suggest you read them. As for the path, Format the path like this.
PHP код:
format(string,sizeof(string),"/Users/%d.ini",id);
|
Dont Use Users folder.
Just create a new Folder like if you are making a Vehicle System, use Vehicle Folder.
Use
PHP код:
format(string, sizeof(string), "/YOUR FOLDER NAME/%d.ini,id); //Replace YOUR FOLDER NAME with the name of the folder you want to save those files in.