There is no errors in this script, but it's not working InGame.
#7

pawn Код:
// loose indentation
main()
{
    new a;
new b; // it looses indentation
    new c;
        new d; // it looses indentation
}
pawn Код:
CMD:test( playerid, params[ ] )
{
    return print( "The next line will give us warning as unreachable code!" );
    return 1;
}
pawn Код:
CMD:test2( playerid, params[ ] )
{
    print( "Look 2 lines down" );
    return 1;
    return print( "The above line will give us warning as unreachable code!" );
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)