Shit ton of sscanf warning
#5

press ctrl+h (search), and type in the string "sscan(" and compare the amount of specifiers like %d %s[32] %i etc in the parentheses, they arent matching the parameter count. here its only 1 parameter, 1 specifier:;
pawn Код:
new type;
    if(!sscanf(params,"d",type))
so your example could either look like
pawn Код:
new type;
    if(!sscanf(params,"dd",type))
or
pawn Код:
new type;
    if(!sscanf(params,"d",type,irrelevant))
... so maybe most of your command will not work properly / miss a parameter / set some parameters to 0 or "" (empty string) cause they arent getting filled with data.

erm.. to be ignored: maybe i missed something, like asking if you have updated the plugin/include/compiled your scripts with them.. but i wont bother to do that, since theres nothing indicating so ^^

edit: weird. 4 posts already - your code looks correct so far...
Reply


Messages In This Thread
Shit ton of sscanf warning - by NinjaChicken - 20.09.2012, 12:36
Re: Shit ton of sscanf warning - by [HK]Ryder[AN] - 20.09.2012, 12:39
Re: Shit ton of sscanf warning - by clarencecuzz - 20.09.2012, 12:40
Re: Shit ton of sscanf warning - by NinjaChicken - 20.09.2012, 12:42
Re: Shit ton of sscanf warning - by Babul - 20.09.2012, 12:43

Forum Jump:


Users browsing this thread: 1 Guest(s)