Need Help > 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need Help > dini (
/showthread.php?tid=234201)
Need Help > dini -
Mence™ - 03.03.2011
Hi guys I have make a dini funtions dini_get is getting same but on savenote() on file all data save as (line= )
pawn Код:
public SaveNotes()
{
new file[128];
for(new i = 1;i < MAX_DOMAINS;i++)
{
format(file,sizeof(file),N_File,i);
dini_Set(file, "Line1",DInfo[i][line1]);
dini_Set(file, "Line2",DInfo[i][line2]);
dini_Set(file, "Line3",DInfo[i][line3]);
dini_Set(file, "Line4",DInfo[i][line4]);
dini_Set(file, "Line5",DInfo[i][line5]);
}
return 1;
}
It saying this... but IG/in console its getting right string.
Код:
Line1=
Line2=
Line3=
Line4=
Line5=
Re: Need Help > dini -
JaTochNietDan - 03.03.2011
Your format doesn't make sense, what are you trying to accomplish with the format function?
See the usage of format here:
https://sampwiki.blast.hk/wiki/Format