SA-MP Forums Archive
sscanf error: System not initialised. - 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: sscanf error: System not initialised. (/showthread.php?tid=622160)



sscanf error: System not initialised. - Thanks - 19.11.2016

Hi Guyz Im new on the Forum and i need a help... Look man i scirpt my gamemode and when i spawned Server Restart i check the server.log i got this 2 error i try to Update the sscanf.inc + sscanf.so but its still not work.... can you help me?

Код:
[10:54:35] sscanf error: System not initialised.
[10:54:35] sscanf error: System not initialised.



Re: sscanf error: System not initialised. - SyS - 19.11.2016

Did u recompiled all your scripts with latest include?


Re: sscanf error: System not initialised. - Thanks - 19.11.2016

Yes man


Re: sscanf error: System not initialised. - SyS - 19.11.2016

changed
Код:
#include<sscanf>
to
Код:
#include <sscanf2>
??


Re: sscanf error: System not initialised. - Thanks - 19.11.2016

Bro? i already have this

PHP код:
#include <sscanf2> 
Before you saying.


Re: sscanf error: System not initialised. - TwinkiDaBoss - 19.11.2016

Open the sscanf2 include file (with notepad or pawn or whatever) and look for
Quote:

native sscanf(const data[], const format[], {Float,_}:...);
native unformat(const data[], const format[], {Float,_}:...) = sscanf;
native SSCANF_Init(players, invalid, len);
native SSCANF_Join(playerid, const name[], npc);
native SSCANF_Leave(playerid);

If that doesnt exist, you will need to download latest include then. There are too many edits and such of the sscanf there could be that you are using wrong include with a wrong plugin and so no.


Re: sscanf error: System not initialised. - Thanks - 19.11.2016

yes i have it

Код:
native sscanf(const data[], const format[], {Float,_}:...);
native unformat(const data[], const format[], {Float,_}:...) = sscanf;
native SSCANF_Init(players, invalid, len);
native SSCANF_Join(playerid, const name[], npc);
native SSCANF_Leave(playerid);
can you give me the sscanf2.inc with sscanf.so ? Link of download?


Re: sscanf error: System not initialised. - Thanks - 19.11.2016

You dont know what is the problem


Re: sscanf error: System not initialised. - Vince - 19.11.2016

Don't double click on .pwn files to open them. Open the RIGHT editor and open the file through the editor. This ensures that the compiler looks in the right directory for the includes. You may have the right file in one directory but if the compiler is looking elsewhere it won't do you much good.


Re: sscanf error: System not initialised. - Thanks - 19.11.2016

i save the File here
Код:
/pawno/include/sscanf2.inc