sscanf warning
#1

[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?
Reply
#2

You have to define de lenght of the string..

"s[lenght]"
Reply
#3

I know it already.. but how can i find the string without string[length]? then i will make it won't show again...
Reply
#4

pawn Код:
new array[ 50 ];
sscanf(..., "s[50]", array)
No errors.

pawn Код:
new array[ 50 ];
sscanf(.. "s", array)
Errors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)