Is there any differance between - 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: Is there any differance between (
/showthread.php?tid=151695)
Is there any differance between -
aelfred - 31.05.2010
Linux script code and windows script code? Or to put it simpler . Will a script that was written on an XP machine work on a linux server ? If the answer to this is no can you tell me what I need to change please. If you pm me I will show you a script that was written I cannot understand why it does not work on linux but works fine on windoze. Ty.
Re: Is there any differance between -
Zamaroht - 31.05.2010
There are some few functions that are not compatible on linux.
tickcount() does not work properly in linux servers. Instead, you can use GetTickCount(), which will probably be as useful as tickcount() in a SA-MP script.
Also, I think that fputchar and fgetchar don't work properly in linux either, but I'm not sure about them.