Textdraw
#1

how to do a Textdraw https://sampwiki.blast.hk/wiki/Textdraw
warning 225: unreachable code
unreachable code
loose indentation
warning 203: symbol is never used: "gMyPlayerText"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Warnings.
Reply
#2

Unreachable code is for an extra bracket (symbol is never used: "gMyPlayerText")is because you never showed the Textdraw (loose indentation)is nothing you should be worried about it comes when you don't match the lines kinda.
Reply
#3

Quote:
Originally Posted by DaRk_RaiN
Посмотреть сообщение
Unreachable code is for an extra bracket (symbol is never used: "gMyPlayerText")is because you never showed the Textdraw (loose indentation)is nothing you should be worried about it comes when you don't match the lines kinda.
No.

Unreachable code is exactly what it says - the code can't be reached because it's being stopped (by a return) before hand. For example:

pawn Код:
SomeFunction(params)
{
    // code
    return 1;

    // more code - this is unreachable
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)