Checking against textdraw IDs?
#1

pawn Код:
if(TXDname[playerid] != INVALID_TEXT_DRAW)
    {
        TextDrawDestroy(TXDname[playerid]);
        }
Код:
Functions.pwn(618) : warning 213: tag mismatch
Ideas? I've just been having problems where if it isn't created and I delete it, it deletes the first textdraw created.
Reply
#2

pawn Код:
!= Text:INVALID_TEXT_DRAW
You have to add a tag to it.
Reply
#3

Cheers bro haha, Always something. rep++;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)