Question about saveing strings with dini - 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: Question about saveing strings with dini (
/showthread.php?tid=419798)
Question about saveing strings with dini -
horsemeat - 02.03.2013
solved
Question About Saveing Strings With Dini
I want to make a script so I can be reminded what bugs to fix. I want to save string using dini here is the command I tried using but it gave me an Error
Код:
dini_IntSet(file,savestring,(string));
It Gives me an Error
Код:
C:\Users\joshua\Desktop\sampserver\pawno\notes.pwn(64) : error 035: argument type mismatch (argument 3)
The answer is
Код:
dini_Set(file,savestring,(string));
Re: Question about saveing strings with dini -
Sinner - 02.03.2013
The syntax is:
pawn Код:
dini_IntSet(filename[],key[],value);
(String) is not a numeric value.
Re: Question about saveing strings with dini -
1dllb - 02.03.2013
dini_IntSet is for integers you should use.
pawn Код:
dini_Set(file, "Line in ini file", "string you want to save");
Re: Question about saveing strings with dini -
horsemeat - 02.03.2013
Aaa Int stands for integer Thanks for your help it's all good now
I never saved a string before with dini
Thanks