SA-MP Forums Archive
sscanf warning: Format specifier does not match parameter count. - 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: Format specifier does not match parameter count. (/showthread.php?tid=314328)



sscanf warning: Format specifier does not match parameter count. - No Fear - 29.01.2012

Hi, i got two warning "sscanf warning: Format specifier does not match parameter count." 2x

pawn Код:
if( sscanf( inputtext, "d[10]",input ) )
            {
                    ShowPlayerDialog( playerid, 1004, 1, "Ћaidėjo Uћtildymas", "Praљome įvesti laiką(sekundėmis)", "Gerai", "Atgal" );
                    return true;
            }

            if( !IsNumeric( inputtext ) )
            {
                ShowPlayerDialog( playerid, 1004, 1, "Ћaidėjo Uћtildymas", "Praљome įvesti laiką(sekundėmis)", "Gerai", "Atgal" );
                return true;
            }
                sscanf                  ( inputtext, "d[10]", MutedSeconds[ id ] );
                printf                  ( "Laikas: %i", input );
                control                 [ playerid ] = -1;
            }