Textdraw not clickable - but it's set.
#1

I was making a login screen with iPLEOMAX's Textdraw editor and when I make the "Login" and "Register" textdraws clickable, they don't seem to work(I had a problem with them so I put them in a command /show, but loaded them when the player connects)
pawn Код:
CMD:show(playerid, params[])
{
    TextDrawShowForPlayer(playerid, Text:Textdraw0);
    TextDrawShowForPlayer(playerid, Text:Textdraw1);
    TextDrawShowForPlayer(playerid, Text:Textdraw2);
    TextDrawShowForPlayer(playerid, Text:Textdraw3);
    PlayerTextDrawShow(playerid, Login[playerid]);
    PlayerTextDrawShow(playerid, Register[playerid]);
    SelectTextDraw(playerid, 0xFF000088);
    return 1;
}
pawn Код:
Login[playerid] = CreatePlayerTextDraw(playerid, 216.000030, 176.296310, "Login");
    PlayerTextDrawLetterSize(playerid, Login[playerid], 0.449999, 1.600000);
    PlayerTextDrawAlignment(playerid, Login[playerid], 1);
    PlayerTextDrawColor(playerid, Login[playerid], -1);
    PlayerTextDrawSetShadow(playerid, Login[playerid], 0);
    PlayerTextDrawSetOutline(playerid, Login[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Login[playerid], 51);
    PlayerTextDrawFont(playerid, Login[playerid], 2);
    PlayerTextDrawSetProportional(playerid, Login[playerid], 1);
    PlayerTextDrawTextSize(playerid, PlayerText:Login[playerid], 100, 10);

    Register[playerid] = CreatePlayerTextDraw(playerid, 359.666625, 175.881439, "Register");
    PlayerTextDrawLetterSize(playerid, Register[playerid], 0.449999, 1.600000);
    PlayerTextDrawAlignment(playerid, Register[playerid], 1);
    PlayerTextDrawColor(playerid, Register[playerid], -1);
    PlayerTextDrawSetShadow(playerid, Register[playerid], 0);
    PlayerTextDrawSetOutline(playerid, Register[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Register[playerid], 51);
    PlayerTextDrawFont(playerid, Register[playerid], 2);
    PlayerTextDrawSetProportional(playerid, Register[playerid], 1);
    PlayerTextDrawTextSize(playerid, PlayerText:Register[playerid], 100, 10);
Reply


Messages In This Thread
Textdraw not clickable - but it's set. - by Zeppo - 28.03.2014, 22:17
Re: Textdraw not clickable - but it's set. - by Pillhead2007 - 29.03.2014, 10:36
Re: Textdraw not clickable - but it's set. - by Zeppo - 29.03.2014, 14:20
Re: Textdraw not clickable - but it's set. - by Pottus - 29.03.2014, 14:44
Re: Textdraw not clickable - but it's set. - by Zeppo - 29.03.2014, 14:58
Re: Textdraw not clickable - but it's set. - by Matess - 29.03.2014, 15:06
Re: Textdraw not clickable - but it's set. - by Zeppo - 29.03.2014, 15:10

Forum Jump:


Users browsing this thread: 2 Guest(s)