SA-MP Forums Archive
Float help - 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: Float help (/showthread.php?tid=339360)



Float help - Jstylezzz - 03.05.2012

Hi everyone,

I'm trying to save a float, of every player in one file, this means, that i don't want the old line overwritten, but i want the file processor to add it under it..

How should i do this?
(I prefer Y_INI, but other solutions are also welcome!)


Re: Float help - Face9000 - 03.05.2012

Use
pawn Код:
\n
for making the new line.


Re: Float help - JaKe Elite - 03.05.2012

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
Use
pawn Код:
\n
for making the new line.
That would not fix it since it would be like this

pawn Код:
0.0, 0.0, 0.0 | 0.0, 0.0, 0.0
use this if you are going to use the normal file.inc which includes fopen etc...

Код:
\r\n
this will create a result like this

Код:
0.0, 0.0, 0.0
0.0, 0.0, 0.0



Re: Float help - Face9000 - 03.05.2012

Yeah sorry,my mistake.