SA-MP Forums Archive
Problem sscanf - 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: Problem sscanf (/showthread.php?tid=452907)



Problem sscanf - meocahat - 23.07.2013

I having NGRP Script ( MySQL )
This is problem:


Quote:

[15:34:10] sscanf warning: No default value found.
[15:34:10] sscanf warning: Unknown format specifier '[', skipping.
[15:34:10] sscanf warning: Unknown format specifier '1', skipping.
[15:34:10] sscanf warning: Unknown format specifier '0', skipping.
[15:34:10] sscanf warning: Unknown format specifier '0', skipping.
[15:34:10] sscanf warning: Unknown format specifier ']', skipping.
[15:34:10] sscanf warning: Format specifier does not match parameter count.
[15:34:20] sscanf warning: No default value found.
[15:34:26] sscanf warning: No default value found.
[15:34:35] sscanf warning: No default value found.
[15:34:35] sscanf warning: Unknown format specifier '[', skipping.
[15:34:35] sscanf warning: Unknown format specifier '1', skipping.
[15:34:35] sscanf warning: Unknown format specifier '0', skipping.
[15:34:35] sscanf warning: Unknown format specifier '0', skipping.
[15:34:35] sscanf warning: Unknown format specifier ']', skipping.
[15:34:35] sscanf warning: Format specifier does not match parameter count.

Then Server Gamemode switch to Unknown ( If insert command, Server reply: SERVER: Unknown command.)
And i restart server.
How to fix this ?
Sorry for i'm bad english


Re: Problem sscanf - Champ - 23.07.2013

I think you have to update sscanf to sscanf2.

http://forum.sa-mp.com/showthread.ph...hlight=sscanf2


Re: Problem sscanf - Luis- - 23.07.2013

You can fix it by not using a shitty NG-RP leaked script.


Re: Problem sscanf - meocahat - 23.07.2013

Quote:
Originally Posted by Champ
Посмотреть сообщение
I think you have to update sscanf to sscanf2.

http://forum.sa-mp.com/showthread.ph...hlight=sscanf2
I already using sscanf2

Quote:

#include <a_mysql>
#include <streamer>
#include <sscanf2>
#include <a_zones>
#include <foreach>
#include <yom_buttons>
#include <djson>
#include <YSI\y_timers>
#include <YSI\y_utils>
#include <ZCMD>