Jump to content
  • 0

TextDraw


buNNy

Question

De ce nu merge pe server sa selectez td?

Spoiler

 

stock ShowQuizTDs(playerid) {
    for(new i = 0; i < 12; i ++) TextDrawShowForPlayer(playerid, QuizTD);
    SelectTextDraw(playerid, 0x363636FF);
    return 1;
}

stock HideQuizTDs(playerid) {
    for(new i = 0; i < 12; i ++) TextDrawHideForPlayer(playerid, QuizTD);
    CancelSelectTextDraw(playerid);
    return 1;
}

 

//////////////////////////////////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////////////////////////////////////

 

 if(clickedid == Text:CasinoDraw[12]) {
        if(RouletteStatus == 1 || betsumma[playerid] != 0) return SCM(playerid,-1,"You already placed a bet.");
        if(zmidialog[playerid] == 1) return true;
        ShowPlayerDialog(playerid, 5551, DIALOG_STYLE_INPUT, "Enter a bet:","Introdu suma pe care vrei sa o pariezi:", "OK", "Cancel"); //RED
    }
    if(clickedid == Text:QuizTD[11]) {
        HideQuizTDs(playerid);
    }
    if(clickedid == Text:QuizTD[1]) {
        SendClientMessage(playerid, COLOR_GOLD, "Quiz level 5");
    }
    if(clickedid == Text:QuizTD[2]) {
        SendClientMessage(playerid, COLOR_GOLD, "Quiz level 10");
    }
    if(clickedid == Text:QuizTD[3]) {
        SendClientMessage(playerid, COLOR_GOLD, "Quiz level 15");
    }
    if(clickedid == Text:QuizTD[4]) {
        SendClientMessage(playerid, COLOR_GOLD, "Quiz level 20");
    }
    if(clickedid == Text:QuizTD[5]) {
        SendClientMessage(playerid, COLOR_GOLD, "Quiz level 25");
    }

//////////////////////////////////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////////////////////////////////////////////////////////

 

TDEditor_TD[0] = TextDrawCreate(114.772987, 284.500030, "___");
    TextDrawLetterSize(TDEditor_TD[0], -0.181317, 11.511115);
    TextDrawTextSize(TDEditor_TD[0], 537.000000, 0.000000);
    TextDrawAlignment(TDEditor_TD[0], 1);
    TextDrawColor(TDEditor_TD[0], -1);
    TextDrawUseBox(TDEditor_TD[0], 1);
    TextDrawBoxColor(TDEditor_TD[0], 96);
    TextDrawSetShadow(TDEditor_TD[0], 2);
    TextDrawSetOutline(TDEditor_TD[0], 123);
    TextDrawBackgroundColor(TDEditor_TD[0], 0);
    TextDrawFont(TDEditor_TD[0], 1);
    TextDrawSetProportional(TDEditor_TD[0], 1);
    TextDrawSetShadow(TDEditor_TD[0], 2);

    TDEditor_TD[1] = TextDrawCreate(120.395309, 291.183349, "boxs");
    TextDrawLetterSize(TDEditor_TD[1], 0.000000, 10.000000);
    TextDrawTextSize(TDEditor_TD[1], 185.000000, 0.000000);
    TextDrawAlignment(TDEditor_TD[1], 1);
    TextDrawColor(TDEditor_TD[1], -1);
    TextDrawUseBox(TDEditor_TD[1], 1);
    TextDrawBoxColor(TDEditor_TD[1], 255);
    TextDrawSetShadow(TDEditor_TD[1], 0);
    TextDrawSetOutline(TDEditor_TD[1], 0);
    TextDrawBackgroundColor(TDEditor_TD[1], 255);
    TextDrawFont(TDEditor_TD[1], 1);
    TextDrawSetProportional(TDEditor_TD[1], 1);
    TextDrawSetShadow(TDEditor_TD[1], 0);

    TDEditor_TD[2] = TextDrawCreate(209.414398, 291.183349, "boxs");
    TextDrawLetterSize(TDEditor_TD[2], 0.000000, 10.000000);
    TextDrawTextSize(TDEditor_TD[2], 275.000000, 0.000000);
    TextDrawAlignment(TDEditor_TD[2], 1);
    TextDrawColor(TDEditor_TD[2], -1);
    TextDrawUseBox(TDEditor_TD[2], 1);
    TextDrawBoxColor(TDEditor_TD[2], 255);
    TextDrawSetShadow(TDEditor_TD[2], 0);
    TextDrawSetOutline(TDEditor_TD[2], 0);
    TextDrawBackgroundColor(TDEditor_TD[2], 255);
    TextDrawFont(TDEditor_TD[2], 1);
    TextDrawSetProportional(TDEditor_TD[2], 1);
    TextDrawSetShadow(TDEditor_TD[2], 0);

    TDEditor_TD[3] = TextDrawCreate(297.964965, 291.183319, "boxs");
    TextDrawLetterSize(TDEditor_TD[3], 0.000000, 10.000000);
    TextDrawTextSize(TDEditor_TD[3], 363.000000, 0.000000);
    TextDrawAlignment(TDEditor_TD[3], 1);
    TextDrawColor(TDEditor_TD[3], -1);
    TextDrawUseBox(TDEditor_TD[3], 1);
    TextDrawBoxColor(TDEditor_TD[3], 255);
    TextDrawSetShadow(TDEditor_TD[3], 0);
    TextDrawSetOutline(TDEditor_TD[3], 0);
    TextDrawBackgroundColor(TDEditor_TD[3], 255);
    TextDrawFont(TDEditor_TD[3], 1);
    TextDrawSetProportional(TDEditor_TD[3], 1);
    TextDrawSetShadow(TDEditor_TD[3], 0);

    TDEditor_TD[4] = TextDrawCreate(387.452728, 291.183349, "boxs");
    TextDrawLetterSize(TDEditor_TD[4], 0.000000, 10.000000);
    TextDrawTextSize(TDEditor_TD[4], 450.000000, 0.000000);
    TextDrawAlignment(TDEditor_TD[4], 1);
    TextDrawColor(TDEditor_TD[4], -1);
    TextDrawUseBox(TDEditor_TD[4], 1);
    TextDrawBoxColor(TDEditor_TD[4], 255);
    TextDrawSetShadow(TDEditor_TD[4], 0);
    TextDrawSetOutline(TDEditor_TD[4], 0);
    TextDrawBackgroundColor(TDEditor_TD[4], 255);
    TextDrawFont(TDEditor_TD[4], 1);
    TextDrawSetProportional(TDEditor_TD[4], 1);
    TextDrawSetShadow(TDEditor_TD[4], 0);

    TDEditor_TD[5] = TextDrawCreate(474.135009, 291.000061, "boxs");
    TextDrawLetterSize(TDEditor_TD[5], 0.000000, 10.000000);
    TextDrawTextSize(TDEditor_TD[5], 529.600341, 0.000000);
    TextDrawAlignment(TDEditor_TD[5], 1);
    TextDrawColor(TDEditor_TD[5], -1);
    TextDrawUseBox(TDEditor_TD[5], 1);
    TextDrawBoxColor(TDEditor_TD[5], 255);
    TextDrawSetShadow(TDEditor_TD[5], 0);
    TextDrawSetOutline(TDEditor_TD[5], 0);
    TextDrawBackgroundColor(TDEditor_TD[5], 255);
    TextDrawFont(TDEditor_TD[5], 1);
    TextDrawSetProportional(TDEditor_TD[5], 1);
    TextDrawSetShadow(TDEditor_TD[5], 0);

    TDEditor_TD[6] = TextDrawCreate(149.443618, 317.749969, "1");
    TextDrawLetterSize(TDEditor_TD[6], 0.742488, 3.431667);
    TextDrawTextSize(TDEditor_TD[6], 0.000000, 55.000000);
    TextDrawAlignment(TDEditor_TD[6], 2);
    TextDrawColor(TDEditor_TD[6], -1);
    TextDrawUseBox(TDEditor_TD[6], 1);
    TextDrawBoxColor(TDEditor_TD[6], 255);
    TextDrawSetShadow(TDEditor_TD[6], 0);
    TextDrawSetOutline(TDEditor_TD[6], 0);
    TextDrawBackgroundColor(TDEditor_TD[6], 255);
    TextDrawFont(TDEditor_TD[6], 3);
    TextDrawSetProportional(TDEditor_TD[6], 1);
    TextDrawSetShadow(TDEditor_TD[6], 0);
    TextDrawSetSelectable(TDEditor_TD[6], true);

    TDEditor_TD[7] = TextDrawCreate(241.742279, 318.333312, "2");
    TextDrawLetterSize(TDEditor_TD[7], 0.742488, 3.431667);
    TextDrawTextSize(TDEditor_TD[7], 0.000000, 61.000000);
    TextDrawAlignment(TDEditor_TD[7], 2);
    TextDrawColor(TDEditor_TD[7], -1);
    TextDrawUseBox(TDEditor_TD[7], 1);
    TextDrawBoxColor(TDEditor_TD[7], 255);
    TextDrawSetShadow(TDEditor_TD[7], 0);
    TextDrawSetOutline(TDEditor_TD[7], 0);
    TextDrawBackgroundColor(TDEditor_TD[7], 255);
    TextDrawFont(TDEditor_TD[7], 3);
    TextDrawSetProportional(TDEditor_TD[7], 1);
    TextDrawSetShadow(TDEditor_TD[7], 0);
    TextDrawSetSelectable(TDEditor_TD[7], true);

    TDEditor_TD[8] = TextDrawCreate(328.887359, 315.999969, "3");
    TextDrawLetterSize(TDEditor_TD[8], 0.742488, 3.431667);
    TextDrawTextSize(TDEditor_TD[8], 0.000000, 58.000000);
    TextDrawAlignment(TDEditor_TD[8], 2);
    TextDrawColor(TDEditor_TD[8], -1);
    TextDrawUseBox(TDEditor_TD[8], 1);
    TextDrawBoxColor(TDEditor_TD[8], 255);
    TextDrawSetShadow(TDEditor_TD[8], 0);
    TextDrawSetOutline(TDEditor_TD[8], 0);
    TextDrawBackgroundColor(TDEditor_TD[8], 255);
    TextDrawFont(TDEditor_TD[8], 3);
    TextDrawSetProportional(TDEditor_TD[8], 1);
    TextDrawSetShadow(TDEditor_TD[8], 0);
    TextDrawSetSelectable(TDEditor_TD[8], true);

    TDEditor_TD[9] = TextDrawCreate(417.906555, 316.583343, "4");
    TextDrawLetterSize(TDEditor_TD[9], 0.742488, 3.431667);
    TextDrawTextSize(TDEditor_TD[9], 0.000000, 59.000000);
    TextDrawAlignment(TDEditor_TD[9], 2);
    TextDrawColor(TDEditor_TD[9], -1);
    TextDrawUseBox(TDEditor_TD[9], 1);
    TextDrawBoxColor(TDEditor_TD[9], 255);
    TextDrawSetShadow(TDEditor_TD[9], 0);
    TextDrawSetOutline(TDEditor_TD[9], 0);
    TextDrawBackgroundColor(TDEditor_TD[9], 255);
    TextDrawFont(TDEditor_TD[9], 3);
    TextDrawSetProportional(TDEditor_TD[9], 1);
    TextDrawSetShadow(TDEditor_TD[9], 0);
    TextDrawSetSelectable(TDEditor_TD[9], true);

    TDEditor_TD[10] = TextDrawCreate(502.709075, 316.583374, "5");
    TextDrawLetterSize(TDEditor_TD[10], 0.742488, 3.431667);
    TextDrawTextSize(TDEditor_TD[10], 0.000000, 51.000000);
    TextDrawAlignment(TDEditor_TD[10], 2);
    TextDrawColor(TDEditor_TD[10], -1);
    TextDrawUseBox(TDEditor_TD[10], 1);
    TextDrawBoxColor(TDEditor_TD[10], 255);
    TextDrawSetShadow(TDEditor_TD[10], 0);
    TextDrawSetOutline(TDEditor_TD[10], 0);
    TextDrawBackgroundColor(TDEditor_TD[10], 255);
    TextDrawFont(TDEditor_TD[10], 3);
    TextDrawSetProportional(TDEditor_TD[10], 1);
    TextDrawSetShadow(TDEditor_TD[10], 0);
    TextDrawSetSelectable(TDEditor_TD[10], true);

    TDEditor_TD[11] = TextDrawCreate(531.126220, 271.666625, "LD_BEAT:cross");
    TextDrawLetterSize(TDEditor_TD[11], 0.000000, 0.000000);
    TextDrawTextSize(TDEditor_TD[11], 14.000000, 19.000000);
    TextDrawAlignment(TDEditor_TD[11], 1);
    TextDrawColor(TDEditor_TD[11], -1);
    TextDrawSetShadow(TDEditor_TD[11], 0);
    TextDrawSetOutline(TDEditor_TD[11], 0);
    TextDrawBackgroundColor(TDEditor_TD[11], 255);
    TextDrawFont(TDEditor_TD[11], 4);
    TextDrawSetProportional(TDEditor_TD[11], 0);
    TextDrawSetShadow(TDEditor_TD[11], 0);
    TextDrawSetSelectable(TDEditor_TD[11], true);

 

 

COMUNITATEA MEA DE RESURSE
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
spacer.png
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
www.codeup.ro / www.codeup.ro/forum

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

pai am facut cum ai zis

Spoiler

    QuizTD[0] = TextDrawCreate(114.772987, 284.500030, "_");
    TextDrawLetterSize(QuizTD[0], -0.181317, 11.511115);
    TextDrawTextSize(QuizTD[0], 537.000000, 0.000000);
    TextDrawAlignment(QuizTD[0], 1);
    TextDrawColor(QuizTD[0], -1);
    TextDrawUseBox(QuizTD[0], 1);
    TextDrawBoxColor(QuizTD[0], 96);
    TextDrawSetShadow(QuizTD[0], 2);
    TextDrawSetOutline(QuizTD[0], 123);
    TextDrawBackgroundColor(QuizTD[0], 0);
    TextDrawFont(QuizTD[0], 1);
    TextDrawSetProportional(QuizTD[0], 1);
    TextDrawSetShadow(QuizTD[0], 2);

    QuizTD[1] = TextDrawCreate(120.395309, 291.183349, "boxs");
    TextDrawLetterSize(QuizTD[1], 0.000000, 10.000000);
    TextDrawTextSize(QuizTD[1], 183.000000, 0.000000);
    TextDrawAlignment(QuizTD[1], 1);
    TextDrawColor(QuizTD[1], -1);
    TextDrawUseBox(QuizTD[1], 1);
    TextDrawBoxColor(QuizTD[1], 255);
    TextDrawSetShadow(QuizTD[1], 0);
    TextDrawSetOutline(QuizTD[1], 0);
    TextDrawBackgroundColor(QuizTD[1], 255);
    TextDrawFont(QuizTD[1], 1);
    TextDrawSetProportional(QuizTD[1], 1);
    TextDrawSetShadow(QuizTD[1], 0);
    TextDrawSetSelectable(QuizTD[1], true);

    QuizTD[2] = TextDrawCreate(209.414398, 291.183349, "boxs");
    TextDrawLetterSize(QuizTD[2], 0.000000, 10.000000);
    TextDrawTextSize(QuizTD[2], 275.000000, 0.000000);
    TextDrawAlignment(QuizTD[2], 1);
    TextDrawColor(QuizTD[2], -1);
    TextDrawUseBox(QuizTD[2], 1);
    TextDrawBoxColor(QuizTD[2], 255);
    TextDrawSetShadow(QuizTD[2], 0);
    TextDrawSetOutline(QuizTD[2], 0);
    TextDrawBackgroundColor(QuizTD[2], 255);
    TextDrawFont(QuizTD[2], 1);
    TextDrawSetProportional(QuizTD[2], 1);
    TextDrawSetShadow(QuizTD[2], 0);
    TextDrawSetSelectable(QuizTD[2], true);

    QuizTD[3] = TextDrawCreate(297.964965, 291.183319, "boxs");
    TextDrawLetterSize(QuizTD[3], 0.000000, 10.000000);
    TextDrawTextSize(QuizTD[3], 363.000000, 0.000000);
    TextDrawAlignment(QuizTD[3], 1);
    TextDrawColor(QuizTD[3], -1);
    TextDrawUseBox(QuizTD[3], 1);
    TextDrawBoxColor(QuizTD[3], 255);
    TextDrawSetShadow(QuizTD[3], 0);
    TextDrawSetOutline(QuizTD[3], 0);
    TextDrawBackgroundColor(QuizTD[3], 255);
    TextDrawFont(QuizTD[3], 1);
    TextDrawSetProportional(QuizTD[3], 1);
    TextDrawSetShadow(QuizTD[3], 0);
    TextDrawSetSelectable(QuizTD[3], true);

    QuizTD[4] = TextDrawCreate(387.452728, 291.183349, "boxs");
    TextDrawLetterSize(QuizTD[4], 0.000000, 10.000000);
    TextDrawTextSize(QuizTD[4], 450.000000, 0.000000);
    TextDrawAlignment(QuizTD[4], 1);
    TextDrawColor(QuizTD[4], -1);
    TextDrawUseBox(QuizTD[4], 1);
    TextDrawBoxColor(QuizTD[4], 255);
    TextDrawSetShadow(QuizTD[4], 0);
    TextDrawSetOutline(QuizTD[4], 0);
    TextDrawBackgroundColor(QuizTD[4], 255);
    TextDrawFont(QuizTD[4], 1);
    TextDrawSetProportional(QuizTD[4], 1);
    TextDrawSetShadow(QuizTD[4], 0);
    TextDrawSetSelectable(QuizTD[4], true);

    QuizTD[5] = TextDrawCreate(474.135009, 291.000061, "boxs");
    TextDrawLetterSize(QuizTD[5], 0.000000, 10.000000);
    TextDrawTextSize(QuizTD[5], 529.600341, 0.000000);
    TextDrawAlignment(QuizTD[5], 1);
    TextDrawColor(QuizTD[5], -1);
    TextDrawUseBox(QuizTD[5], 1);
    TextDrawBoxColor(QuizTD[5], 255);
    TextDrawSetShadow(QuizTD[5], 0);
    TextDrawSetOutline(QuizTD[5], 0);
    TextDrawBackgroundColor(QuizTD[5], 255);
    TextDrawFont(QuizTD[5], 1);
    TextDrawSetProportional(QuizTD[5], 1);
    TextDrawSetShadow(QuizTD[5], 0);
    TextDrawSetSelectable(QuizTD[5], true);

    QuizTD[6] = TextDrawCreate(149.443618, 317.749969, "1");
    TextDrawLetterSize(QuizTD[6], 0.742489, 3.431667);
    TextDrawAlignment(QuizTD[6], 2);
    TextDrawColor(QuizTD[6], -1);
    TextDrawSetShadow(QuizTD[6], 0);
    TextDrawSetOutline(QuizTD[6], 0);
    TextDrawBackgroundColor(QuizTD[6], 255);
    TextDrawFont(QuizTD[6], 3);
    TextDrawSetProportional(QuizTD[6], 1);
    TextDrawSetShadow(QuizTD[6], 0);

    QuizTD[7] = TextDrawCreate(241.742279, 318.333312, "2");
    TextDrawLetterSize(QuizTD[7], 0.742489, 3.431667);
    TextDrawAlignment(QuizTD[7], 2);
    TextDrawColor(QuizTD[7], -1);
    TextDrawSetShadow(QuizTD[7], 0);
    TextDrawSetOutline(QuizTD[7], 0);
    TextDrawBackgroundColor(QuizTD[7], 255);
    TextDrawFont(QuizTD[7], 3);
    TextDrawSetProportional(QuizTD[7], 1);
    TextDrawSetShadow(QuizTD[7], 0);

    QuizTD[8] = TextDrawCreate(328.887359, 315.999969, "3");
    TextDrawLetterSize(QuizTD[8], 0.742489, 3.431667);
    TextDrawAlignment(QuizTD[8], 2);
    TextDrawColor(QuizTD[8], -1);
    TextDrawSetShadow(QuizTD[8], 0);
    TextDrawSetOutline(QuizTD[8], 0);
    TextDrawBackgroundColor(QuizTD[8], 255);
    TextDrawFont(QuizTD[8], 3);
    TextDrawSetProportional(QuizTD[8], 1);
    TextDrawSetShadow(QuizTD[8], 0);

    QuizTD[9] = TextDrawCreate(417.906555, 316.583343, "4");
    TextDrawLetterSize(QuizTD[9], 0.742489, 3.431667);
    TextDrawAlignment(QuizTD[9], 2);
    TextDrawColor(QuizTD[9], -1);
    TextDrawSetShadow(QuizTD[9], 0);
    TextDrawSetOutline(QuizTD[9], 0);
    TextDrawBackgroundColor(QuizTD[9], 255);
    TextDrawFont(QuizTD[9], 3);
    TextDrawSetProportional(QuizTD[9], 1);
    TextDrawSetShadow(QuizTD[9], 0);

    QuizTD[10] = TextDrawCreate(502.709075, 316.583374, "5");
    TextDrawLetterSize(QuizTD[10], 0.742489, 3.431667);
    TextDrawAlignment(QuizTD[10], 2);
    TextDrawColor(QuizTD[10], -1);
    TextDrawSetShadow(QuizTD[10], 0);
    TextDrawSetOutline(QuizTD[10], 0);
    TextDrawBackgroundColor(QuizTD[10], 255);
    TextDrawFont(QuizTD[10], 3);
    TextDrawSetProportional(QuizTD[10], 1);
    TextDrawSetShadow(QuizTD[10], 0);

    QuizTD[11] = TextDrawCreate(532.525878, 271.666625, "LD_BEAT:cross");
    TextDrawLetterSize(QuizTD[11], 0.000000, 0.000000);
    TextDrawTextSize(QuizTD[11], 14.000000, 19.000000);
    TextDrawAlignment(QuizTD[11], 1);
    TextDrawColor(QuizTD[11], -1);
    TextDrawSetShadow(QuizTD[11], 0);
    TextDrawSetOutline(QuizTD[11], 0);
    TextDrawBackgroundColor(QuizTD[11], 255);
    TextDrawFont(QuizTD[11], 4);
    TextDrawSetProportional(QuizTD[11], 0);
    TextDrawSetShadow(QuizTD[11], 0);

 

COMUNITATEA MEA DE RESURSE
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
spacer.png
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
www.codeup.ro / www.codeup.ro/forum

Link to comment
Share on other sites

  • 0
Acum 2 ore, Banditul a spus:

Nu ai deschis linku dat de mine.

Cand creezi textdrawu dupa ce ii definesti tot il faci selectabil pe cel pe care il folosesti la OnPlayerClickTextdraw

dc nu imi functioneaza?

 

COMUNITATEA MEA DE RESURSE
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
spacer.png
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
www.codeup.ro / www.codeup.ro/forum

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.