SA-MP Forums Archive
Help sscanf warning ! - 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: Help sscanf warning ! (/showthread.php?tid=650681)



Help sscanf warning ! - TMapping - 04.03.2018

Hi, how to do better to avoid sscanf errors?

Код:
sscanf warning: String buffer overflow.
https://pastebin.com/nXcx4gyU


Re: Help sscanf warning ! - alanhutch - 04.03.2018

It means that the string you tried to store in the buffer is longer than the specified string.


Re: Help sscanf warning ! - dani18 - 04.03.2018

Quote:
Originally Posted by alanhutch
Посмотреть сообщение
It means that the string you tried to store in the buffer is longer than the specified string.
↑↑ Exactly.
Quote:
Originally Posted by ******
Посмотреть сообщение
Actually it means that the string you tried to store in the buffer is longer than the specified string.