SA-MP Forums Archive
plugins / include problems - 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: plugins / include problems (/showthread.php?tid=597739)



plugins / include problems - Darko_Atanasovic - 04.01.2016

Thus I have a problem with sscanf, so I go to the server (home server) and write acreate and everything works signs do things on sale, put mode to host and go acreate and we just spam with command and not put anything on sale, and go to the server. log and jump out to me this

Код:
[18:08:59] sscanf error: System not initialised. 
[18:09:02] sscanf error: System not initialised. 
[18:09:03] sscanf error: System not initialised. 
[18:09:04] sscanf error: System not initialised. 
[18:09:06] sscanf error: System not initialised. 
[18:09:10] sscanf error: System not initialised. 
[18:09:12] sscanf error: System not initialised. 
[18:09:14] sscanf error: System not initialised.



Re: plugins / include problems - justinnater - 04.01.2016

Wrong sscanf version perhaps?
Check your server log to see which version is loaded on the host and compare it wth the version when you host it on windows


Re: plugins / include problems - Darko_Atanasovic - 04.01.2016

Version: 2.8.1


Re: plugins / include problems - Vince - 04.01.2016

The library is not included in your script. You must include the provided .inc file for the system to work properly.


Re: plugins / include problems - justinnater - 04.01.2016

That woulndt explain why its working on windows and not on linux.

So 2.8.1 on the host? Which version is it when you host it on your home server?


Re: plugins / include problems - Darko_Atanasovic - 04.01.2016

It is the same version and the home server and hosted


Re: plugins / include problems - justinnater - 04.01.2016

Are you sure that you are using #include <sccanf2> instead of <sccanf>?


Re: plugins / include problems - Darko_Atanasovic - 04.01.2016

Yes of course , #include <sscanf2>


Re: plugins / include problems - justinnater - 04.01.2016

Compile the gamemode first and upload it again on the real host, if it doesnt work try this:

Change it to <sccanf> and see what happens.


Re: plugins / include problems - Darko_Atanasovic - 04.01.2016

i'm changed to sscanf and happenes http://prntscr.com/9lzpxc