sscanf warning: Format specifier does not match parameter count. - 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 warning: Format specifier does not match parameter count. (
/showthread.php?tid=640663)
sscanf warning: Format specifier does not match parameter count. -
Alpha000 - 05.09.2017
im getting tons of this message when i start server....
Код:
sscanf warning: Format specifier does not match parameter count.
Re: sscanf warning: Format specifier does not match parameter count. -
Meller - 05.09.2017
Guessing you've got something like this:
Код:
new para1, para2;
sscanf(variable, "ii", para1);
which should be
Код:
new para1, para2;
sscanf(variable, "ii", para1, para2);
It can be writen on soooooo many ways, you gotta look up every sscanf's you've got and fix them.
Re: sscanf warning: Format specifier does not match parameter count. -
Alpha000 - 05.09.2017
ah ok...
Re: sscanf warning: Format specifier does not match parameter count. -
Alpha000 - 05.09.2017
btw will it effect my gameplay?
Re: sscanf warning: Format specifier does not match parameter count. -
Meller - 05.09.2017
Obviously, it will.
Re: sscanf warning: Format specifier does not match parameter count. -
Alpha000 - 05.09.2017
okay so i have gone through all the script and found couple of problem and fixed them...but warnings still persist....
btw when i use some commands e.g /gedit open 2 then in logs it says "sscanf warning: No default value found."
Re: sscanf warning: Format specifier does not match parameter count. -
Misiur - 05.09.2017
How does your sscanf call in /gedit look like?
Re: sscanf warning: Format specifier does not match parameter count. -
Alpha000 - 05.09.2017
never mind fixed the problem it was a bug in my house system...anyway thanks for uyour help..