SA-MP Forums Archive
[Question] Saving Multiple Values In a File - 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: [Question] Saving Multiple Values In a File (/showthread.php?tid=164603)



[Question] Saving Multiple Values In a File - Maxips2 - 01.08.2010

As the title says..
Say I want to save values: 3, 6, 9, 15, 2 in file named "Values.ini"
Any ideas? (Dini/File functions)


Re: [Question] Saving Multiple Values In a File - Maxips2 - 01.08.2010

Bump....


Re: [Question] Saving Multiple Values In a File - KennethRandall - 01.08.2010

pawn Код:
fwrite(file, sizeof file, "name", value);
dini_IntSet(playerid, "name", value);



Re: [Question] Saving Multiple Values In a File - Maxips2 - 01.08.2010

Can you explain a little bit more about it?