SA-MP Forums Archive
SSCANF Warnings - unknown line numbers - 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 Warnings - unknown line numbers (/showthread.php?tid=640190)



SSCANF Warnings - unknown line numbers - Zorono - 29.08.2017

Hello everybody, so i was browsing my server logs today and then i found this SSCANF Warnings
Код:
[2017 | 16:14:07] sscanf warning: 'z' is deprecated, consider using 'S' instead.
[2017 | 16:14:07] sscanf warning: No default value found.
[2017 | 16:14:07] sscanf warning: Strings without a length are deprecated, please add a destination size.
[2017 | 16:14:27] sscanf warning: 'z' is deprecated, consider using 'S' instead.
[2017 | 16:14:27] sscanf warning: No default value found.
[2017 | 16:14:27] sscanf warning: Strings without a length are deprecated, please add a destination size.
and i can't find those bugged codes to fix it because there isn't any kind of line numbers or what ever so please could anyone help me debugging or what ever please to get those line numbers


Re: SSCANF Warnings - unknown line numbers - Vince - 29.08.2017

Try searching for something like this (regular expression):
Код:
sscanf\(.+?,\s?".*?z.*?"



Re: SSCANF Warnings - unknown line numbers - Zorono - 29.08.2017

Quote:
Originally Posted by Vince
Посмотреть сообщение
Try searching for something like this (regular expression):
Код:
sscanf\(.+?,\s?".*?z.*?"
thanks so much sir after searching through my code by following your reply my proplem solved