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: sscanf warning (
/showthread.php?tid=465567)
sscanf warning -
Lidor124 - 22.09.2013
[01:06:12] sscanf warning: Strings without a length are deprecated, please add a destination size.
it shown up on server log, if the length of strings not enough as i figure, how can i find them in the script?
Re: sscanf warning -
iJumbo - 22.09.2013
You have to define de lenght of the string..
"s[lenght]"
Re: sscanf warning -
Lidor124 - 23.09.2013
I know it already.. but how can i find the string without string[length]? then i will make it won't show again...
Re: sscanf warning -
RajatPawar - 23.09.2013
pawn Код:
new array[ 50 ];
sscanf(..., "s[50]", array)
No errors.
pawn Код:
new array[ 50 ];
sscanf(.. "s", array)
Errors.