sscanf problem
#1

pawn Code:
sscanf warning: Strings without a length are deprecated, please add a destination size.
Can someone help me?
Reply
#2

Somewhere in your gamemode you got something like
pawn Code:
"s"
Put a size, like
pawn Code:
"s[128]"
Reply
#3

Quote:
Originally Posted by Delux13
View Post
Somewhere in your gamemode you got something like
pawn Code:
"s"
Put a size, like
pawn Code:
"s[128]"
no, a have size on all strings :S
Reply
#4

Then check all your filterscripts and includes.
Reply
#5

nope, but what if code goes like this:

pawn Code:
new player, reason[128];
if(sscanf(params, "us[120]", player, reason))
can this be a problem?
Reply
#6

soo, this is problem of that code or what??, i get this error in server log
Reply
#7

pawn Code:
new player, reason[128];
if(sscanf(params, "us[128]", player, reason))
Reply
#8

Quote:
Originally Posted by Darnell
View Post
pawn Code:
new player, reason[128];
if(sscanf(params, "us[128]", player, reason))
i get that, but is mein problem....

@Mido ok, i will now...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)