Dini > 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: Dini > INI (
/showthread.php?tid=642063)
Dini > INI -
Kraeror - 24.09.2017
Hello guys, I want to update my server from dini to ini saving system! Can anyone give me an example for it?
Here is the things, I want to be converted!
PHP код:
new Variable = 123, String[256] = "TestString", Float:Float = 1.230000, FileString[256];
format(FileString,sizeof(FileString), "/Test/Something.dini.save");
Variable = dini_Int(FileString,"First:Test");
String = dini_Get(FileString,"Second:Test");
Float = dini_Float(FileString,"Last:Test");
I'm using
this include!
Please help, +1 REP!
Re: Dini > INI -
Kraeror - 24.09.2017
Can anybody help me please?
Re: Dini > INI -
Logic_ - 24.09.2017
Dini saves stuff in the .INI format. Move to SQLite instead, it's easier than handling MySQL.
Re: Dini > INI -
Kraeror - 24.09.2017
Can you convert it as I said please?
Re: Dini > INI -
Zeth - 24.09.2017
Learn Sqlite, that would help you better. Refer to
https://sampforum.blast.hk/showthread.php?tid=449536.
Re: Dini > INI -
Kraeror - 24.09.2017
:X Guys I don't need sqlite... I need to convert that, I pasted! Can you help me please, STOP WITH THIS SQLITE!
Re: Dini > INI -
OneDay - 24.09.2017
dini is a ini save system
Re: Dini > INI -
Zeth - 24.09.2017
Quote:
Originally Posted by Kraeror
:X Guys I don't need sqlite... I need to convert that, I pasted! Can you help me please, STOP WITH THIS SQLITE!
|
So to convert it , first you need to learn that saving system in which you are about to convert, you just cannot ask for help from everyone for every piece of code.
BTW what made you think that dini is not a ini saving system?
or did you meant y_ini by ini?