help textdraw Clickable
#1

Hey guys i'm doing a Clickable TextDraw system but not this worked the TextDraw appear but when I click nothing happens

follows the codes below

pawn Код:
Bank[16] = TextDrawCreate(315.0, 145.357772, "usebox");
    TextDrawLetterSize(Bank[16], 0.000000, 4.381600);
    TextDrawTextSize(Bank[16], 50.0, 175.0);
    TextDrawAlignment(Bank[16], 2);
    TextDrawColor(Bank[16], 0);
    TextDrawUseBox(Bank[16], true);
    TextDrawBoxColor(Bank[16], -1205847297);
    TextDrawSetShadow(Bank[16], 0);
    TextDrawSetOutline(Bank[16], 0);
    TextDrawFont(Bank[16], 0);
    TextDrawSetSelectable(Bank[16], 1);
pawn Код:
if(clickedid == Bank[16]) // Retirar
    {
            TextDrawHideForPlayer(playerid, Bank[15]);
            TextDrawHideForPlayer(playerid, Bank[16]);
            TextDrawHideForPlayer(playerid, Bank[17]);
            TextDrawHideForPlayer(playerid, Bank[18]);
            TextDrawHideForPlayer(playerid, Bank[19]);
        ShowPlayerDialog(playerid, DIALOG_RETIRAR, DIALOG_STYLE_INPUT, "BANCO LS - WITHDRAW", "\n\tAmmount to withdraw\n", "Withdraw", "Cancel");
        return 1;
    }
Reply


Messages In This Thread
help textdraw Clickable - by iWiNeR - 30.11.2015, 20:25
Re: help textdraw Clickable - by UltraScripter - 30.11.2015, 21:09
Re: help textdraw Clickable - by iWiNeR - 01.12.2015, 00:50
Re: help textdraw Clickable - by iWiNeR - 01.12.2015, 13:48
Re: help textdraw Clickable - by UltraScripter - 01.12.2015, 13:49
Re: help textdraw Clickable - by iWiNeR - 01.12.2015, 14:18
Re: help textdraw Clickable - by UltraScripter - 01.12.2015, 15:15
Re: help textdraw Clickable - by iWiNeR - 01.12.2015, 15:30

Forum Jump:


Users browsing this thread: 7 Guest(s)