SII On Linux - 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: SII On Linux (
/showthread.php?tid=273110)
SII On Linux -
Shawwarma - 31.07.2011
Hi, I upload my mode to the linux server.
And when I start the server It write to me 0,0.0000,0.000,....
And In my windows server It write to me 418,52.546,245.8
On the same files!
This is the test...
Код:
for(new v = 1; v <= MAX_VEHICLES; v++)
if (INI_Open(CarFile(v)))
printf("%d,%f,%f,%f,%f,%d,%d\n",INI_ReadInt("Model"),INI_ReadFloat("X"),INI_ReadFloat("Y"),INI_ReadFloat("Z"),INI_ReadFloat("A"),INI_ReadInt("Color1"),INI_ReadInt("Color2")), INI_Close();
Can someone tell me what the problam?
P.S.
With dini its work fine, But dini luggy...
Re: SII On Linux -
Calgon - 31.07.2011
Linux is case-sensitive with file names, values might not be retrieving because you may not have opened the file properly.
Re: SII On Linux -
Kush - 31.07.2011
SII also distorts values. Not recommended.
Re: SII On Linux -
Shawwarma - 31.07.2011
So what to do?
Re: SII On Linux -
Kush - 31.07.2011
Quote:
Originally Posted by Shawwarma
So what to do?
|
Not to use it.