OnPlayerClickTextDraw Help
#3

pawn Код:
if(clickedid == Text:INVALID_TEXT_DRAW)
    {
        SendClientMessage(playerid, 0xFFFFFFAA, "Canceled");
        TextDrawShowForPlayer(playerid , Textdrawwork0);
    TextDrawShowForPlayer(playerid , Textdrawwork1);
        TextDrawShowForPlayer(playerid , Textdrawwork2);
        TextDrawShowForPlayer(playerid , Textdrawwork3);
        TextDrawShowForPlayer(playerid , Textdrawwork4);
        TextDrawShowForPlayer(playerid , Textdrawwork5);
        TextDrawShowForPlayer(playerid , Textdrawwork6);
        TextDrawShowForPlayer(playerid , Textdrawwork7);
        TextDrawShowForPlayer(playerid , Textdrawwork8);
        TextDrawShowForPlayer(playerid , Textdrawwork9);
        SelectTextDraw(playerid, 0xFF4040AA);
        return 1;
    }

    return 1;
}
As far as I have read and understood, you want to this to hide after someone presses ESC, right?

pawn Код:
if(clickedid == Text:INVALID_TEXT_DRAW)
    {
        TextDrawHideForPlayer(playerid , Textdrawwork0);
        TextDrawHideForPlayer(playerid , Textdrawwork1);
        TextDrawHideForPlayer(playerid , Textdrawwork2);
        TextDrawHideForPlayer(playerid , Textdrawwork3);
        TextDrawHideForPlayer(playerid , Textdrawwork4);
        TextDrawHideForPlayer(playerid , Textdrawwork5);
        TextDrawHideForPlayer(playerid , Textdrawwork6);
        TextDrawHideForPlayer(playerid , Textdrawwork7);
        TextDrawHideForPlayer(playerid , Textdrawwork8);
        TextDrawHideForPlayer(playerid , Textdrawwork9);
        return 1;
    }

    return 1;
}
Reply


Messages In This Thread
OnPlayerClickTextDraw Help - by leo9 - 18.06.2014, 12:10
Re: OnPlayerClickTextDraw Help - by leo9 - 18.06.2014, 13:16
Re: OnPlayerClickTextDraw Help - by Cena44 - 18.06.2014, 14:56
Re: OnPlayerClickTextDraw Help - by leo9 - 18.06.2014, 16:30

Forum Jump:


Users browsing this thread: 1 Guest(s)