SA-MP Forums Archive
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: Format specifier does not match parameter count. (/showthread.php?tid=644672)



Format specifier does not match parameter count. - Softic - 12.11.2017

Help me please
This is a sscanf warning
IMAGE:
https://prnt.sc/h9ekg4


Re: Format specifier does not match parameter count. - Dutheil - 12.11.2017

The problem is to the line 42.


Re: Format specifier does not match parameter count. - Softic - 12.11.2017

Sorry but I do not understand


Re: Format specifier does not match parameter count. - OneDay - 12.11.2017

What is your code? This is when sscanf looks wrong like:

sscanf(params, "iiiii", id);

"iiiii" means 5 numbers, but "id" means 1 numberl.