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

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);
    TextDrawSetSelectable(playerid, Login[playerid], 1);

    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);
    TextDrawSetSelectable(playerid, Register[playerid], 1);
I already have TextDrawSetSelectable but it still don't work.
These are the errors:
pawn Код:
C:\Users\Jamie\Desktop\SAMP\gamemodes\JRP.pwn(1141) : warning 213: tag mismatch
C:\Users\Jamie\Desktop\SAMP\gamemodes\JRP.pwn(1141) : warning 213: tag mismatch
C:\Users\Jamie\Desktop\SAMP\gamemodes\JRP.pwn(1141) : warning 202: number of arguments does not match definition
C:\Users\Jamie\Desktop\SAMP\gamemodes\JRP.pwn(1153) : warning 213: tag mismatch
C:\Users\Jamie\Desktop\SAMP\gamemodes\JRP.pwn(1153) : warning 213: tag mismatch
C:\Users\Jamie\Desktop\SAMP\gamemodes\JRP.pwn(1153) : warning 202: number of arguments does not match definition
Error lines are:
pawn Код:
TextDrawSetSelectable(playerid, Login[playerid], 1);
and
TextDrawSetSelectable(playerid, Register[playerid], 1);
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: 3 Guest(s)