SA-MP Forums Archive
Read from 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: Read from file (/showthread.php?tid=152058)



Read from file - epranka - 02.06.2010

Hi, How I can read file lines to variables.
In file:
Код:
410
-2148.5969
-935.1008
31.6786
269.9992
9
1
I want to get, like this:

a = 410;
b = -2148.5969;
c = ...