SA-MP Forums Archive
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=525995)



sscanf warning: Format specifier does not match parameter count. - UserName31 - 15.07.2014

hey i am my server wont respond cuz of this message

PHP код:
sscanf warningFormat specifier does not match parameter count
i dont know why thats happening i looked up some info and they say it has to do something with uz, ui etc. but i dont get it here is my .pwn it on admins commands i have lot variable as well i use dini i change pvar to dini seems work well exept for that sscanf error

or just tell me what i need to show i have no idea i really need this +rep

also were do that sscantf2 folder go?


Re: sscanf warning: Format specifier does not match parameter count. - amirab - 15.07.2014

how about this just try it if it works I'll tell what happened And don't forget my +REP


Re: sscanf warning: Format specifier does not match parameter count. - UserName31 - 16.07.2014

Quote:
Originally Posted by amirab
Посмотреть сообщение
how about this just try it if it works I'll tell what happened And don't forget my +REP
no it dint work

server log
PHP код:
[16:40:12
[
16:40:12Ban list
[
16:40:12] --------
[
16:40:12]  Loadedsamp.ban
[16:40:12
[
16:40:12
[
16:40:12Filterscripts
[16:40:12] ---------------
[
16:40:12]   Loaded 0 filterscripts.
[
16:40:12
 ---------------------
[
16:40:12Cops n Robbers 0.3z by iRoNMaNpR12
[16:40:12] ------------------------
[
16:40:12Number of vehicle models16
[16:42:26Incoming connection24.188.244.94:60452
[16:42:27] [joinironmenpr12 has joined the server (0:24.188.244.94)
[
16:42:35] [SPAWNironmenpr12 (0)
[
16:42:44] [ADMIN JAILironmenpr12 (00
[16:42:49sscanf warningFormat specifier does not match parameter count.
[
16:42:49] [ADMIN UNJAILironmenpr12 (0)
[
16:46:20] [partironmenpr12 has left the server (0:1



Re: sscanf warning: Format specifier does not match parameter count. - Dignity - 16.07.2014

You missed out plenty of parameters, lol.


Re: sscanf warning: Format specifier does not match parameter count. - UserName31 - 17.07.2014

Quote:
Originally Posted by Mionee
Посмотреть сообщение
You missed out plenty of parameters, lol.
thanks it got the error message out but everytime i use /jail [id] [reason] the script will start not responding


Re: sscanf warning: Format specifier does not match parameter count. - Dignity - 17.07.2014

Then the issue lies with that command.


Re: sscanf warning: Format specifier does not match parameter count. - UserName31 - 17.07.2014

is suppost to be COMMAND:jail(playerid, params[])? i had it as cmd(jail


Re: sscanf warning: Format specifier does not match parameter count. - UserName31 - 17.07.2014

thanks +rep for helping me get rid of that message ill deal with that problem


Re: sscanf warning: Format specifier does not match parameter count. - DavidSparks - 18.01.2015

Sorry for bumping but how can you find where the problem is? I also got this problem.


Re: sscanf warning: Format specifier does not match parameter count. - Ironboy - 18.01.2015

Quote:
Originally Posted by DavidSparks
Посмотреть сообщение
Sorry for bumping but how can you find where the problem is? I also got this problem.
When a specific command is being used or a function being called, you gotta keep an eye on the log after it has been executed.