textdraw clicking problem..
#3

bumb u.u

So here's the problem, I've stated above what happens when u go by those textdraws and that's normal, but when i try to click another textdraw it says i'm clicking the second textdraw, but why Y_Y, here the creation of the td's.

pawn Код:
cTeam[0] = TextDrawCreate(210.000000, 34.000000, "~>~ Choose your team ~<~");
    TextDrawBackgroundColor(cTeam[0], 255);
    TextDrawFont(cTeam[0], 1);
    TextDrawLetterSize(cTeam[0], 0.500000, 2.599999);
    TextDrawColor(cTeam[0], -1);
    TextDrawSetOutline(cTeam[0], -1);
    TextDrawSetProportional(cTeam[0], 1);
    TextDrawSetShadow(cTeam[0], 1);

    cTeam[1] = TextDrawCreate(280.000000, 279.000000, "China Army");
    TextDrawBackgroundColor(cTeam[1], 255);
    TextDrawFont(cTeam[1], 1);
    TextDrawLetterSize(cTeam[1], 0.659999, 2.899999);
    TextDrawColor(cTeam[1], -190813953);
    TextDrawSetOutline(cTeam[1], -1);
    TextDrawSetProportional(cTeam[1], 1);
    TextDrawSetShadow(cTeam[1], 1);
    TextDrawSetSelectable(cTeam[1], true);

    cTeam[2] = TextDrawCreate(244.000000, 64.000000, "U.S.A Army");
    TextDrawBackgroundColor(cTeam[2], 255);
    TextDrawFont(cTeam[2], 1);
    TextDrawLetterSize(cTeam[2], 0.659999, 2.899999);
    TextDrawColor(cTeam[2], 680853503);
    TextDrawSetOutline(cTeam[2], -1);
    TextDrawSetProportional(cTeam[2], 1);
    TextDrawSetShadow(cTeam[2], 1);
    TextDrawSetSelectable(cTeam[2], true);

    cTeam[3] = TextDrawCreate(260.000000, 141.000000, "Grove S.");
    TextDrawBackgroundColor(cTeam[3], 255);
    TextDrawFont(cTeam[3], 1);
    TextDrawLetterSize(cTeam[3], 0.659999, 2.899999);
    TextDrawColor(cTeam[3], -2147483393);
    TextDrawSetOutline(cTeam[3], -1);
    TextDrawSetProportional(cTeam[3], 1);
    TextDrawSetShadow(cTeam[3], 1);
    TextDrawSetSelectable(cTeam[3], true);

    cTeam[4] = TextDrawCreate(251.000000, 116.000000, "Vagos");
    TextDrawBackgroundColor(cTeam[4], 255);
    TextDrawFont(cTeam[4], 1);
    TextDrawLetterSize(cTeam[4], 0.659999, 2.899999);
    TextDrawColor(cTeam[4], -1751711489);
    TextDrawSetOutline(cTeam[4], -1);
    TextDrawSetProportional(cTeam[4], 1);
    TextDrawSetShadow(cTeam[4], 1);
    TextDrawSetSelectable(cTeam[4], true);

    cTeam[5] = TextDrawCreate(263.000000, 169.000000, "Vatos Locos");
    TextDrawBackgroundColor(cTeam[5], 255);
    TextDrawFont(cTeam[5], 1);
    TextDrawLetterSize(cTeam[5], 0.659999, 2.899999);
    TextDrawColor(cTeam[5], -38145);
    TextDrawSetOutline(cTeam[5], -1);
    TextDrawSetProportional(cTeam[5], 1);
    TextDrawSetShadow(cTeam[5], 1);
    TextDrawSetSelectable(cTeam[5], true);

    cTeam[6] = TextDrawCreate(283.000000, 306.000000, "Cholos13");
    TextDrawBackgroundColor(cTeam[6], 255);
    TextDrawFont(cTeam[6], 1);
    TextDrawLetterSize(cTeam[6], 0.659999, 2.899999);
    TextDrawColor(cTeam[6], -1615087361);
    TextDrawSetOutline(cTeam[6], -1);
    TextDrawSetProportional(cTeam[6], 1);
    TextDrawSetShadow(cTeam[6], 1);
    TextDrawSetSelectable(cTeam[6], true);

    cTeam[7] = TextDrawCreate(279.000000, 249.000000, "13th gang");
    TextDrawBackgroundColor(cTeam[7], 255);
    TextDrawFont(cTeam[7], 1);
    TextDrawLetterSize(cTeam[7], 0.659999, 2.899999);
    TextDrawColor(cTeam[7], -16776961);
    TextDrawSetOutline(cTeam[7], -1);
    TextDrawSetProportional(cTeam[7], 1);
    TextDrawSetShadow(cTeam[7], 1);
    TextDrawSetSelectable(cTeam[7], true);

    cTeam[8] = TextDrawCreate(275.000000, 198.000000, "Aztecas");
    TextDrawBackgroundColor(cTeam[8], 255);
    TextDrawFont(cTeam[8], 1);
    TextDrawLetterSize(cTeam[8], 0.659999, 2.899999);
    TextDrawColor(cTeam[8], -2130771713);
    TextDrawSetOutline(cTeam[8], -1);
    TextDrawSetProportional(cTeam[8], 1);
    TextDrawSetShadow(cTeam[8], 1);
    TextDrawSetSelectable(cTeam[8], true);

    cTeam[9] = TextDrawCreate(277.000000, 222.000000, "Swat");
    TextDrawBackgroundColor(cTeam[9], 255);
    TextDrawFont(cTeam[9], 1);
    TextDrawLetterSize(cTeam[9], 0.659999, 2.899999);
    TextDrawColor(cTeam[9], -2130706433);
    TextDrawSetOutline(cTeam[9], -1);
    TextDrawSetProportional(cTeam[9], 1);
    TextDrawSetShadow(cTeam[9], 1);
    TextDrawSetSelectable(cTeam[9], true);

    cTeam[10] = TextDrawCreate(252.000000, 90.000000, "Cops");
    TextDrawBackgroundColor(cTeam[10], 255);
    TextDrawFont(cTeam[10], 1);
    TextDrawLetterSize(cTeam[10], 0.659999, 2.899999);
    TextDrawColor(cTeam[10], -8388353);
    TextDrawSetOutline(cTeam[10], -1);
    TextDrawSetProportional(cTeam[10], 1);
    TextDrawSetShadow(cTeam[10], 1);
    TextDrawSetSelectable(cTeam[10], true);
Reply


Messages In This Thread
textdraw clicking problem.. - by recor - 13.10.2013, 08:01
Respuesta: textdraw clicking problem.. - by recor - 13.10.2013, 19:15
Respuesta: textdraw clicking problem.. - by recor - 15.10.2013, 02:59

Forum Jump:


Users browsing this thread: 3 Guest(s)