20.09.2012, 12:43
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:;
so your example could either look like
or
... 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...
pawn Код:
new type;
if(!sscanf(params,"d",type))
pawn Код:
new type;
if(!sscanf(params,"dd",type))
pawn Код:
new type;
if(!sscanf(params,"d",type,irrelevant))
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...