Рекомендованные сообщения



Не найдено.

2 posts in this topic

Как оптимизировать одинаковые textdraw 

Спойлер

RakNetCopy[0] = TextDrawCreate(230.000000, 120.000000, "_");
    TextDrawBackgroundColor(RakNetCopy[0], 255);
    TextDrawFont(RakNetCopy[0], 1);
    TextDrawLetterSize(RakNetCopy[0], 0.500000, 34.199996);
    TextDrawColor(RakNetCopy[0], -1);
    TextDrawSetOutline(RakNetCopy[0], 0);
    TextDrawSetProportional(RakNetCopy[0], 1);
    TextDrawSetShadow(RakNetCopy[0], 1);
    TextDrawUseBox(RakNetCopy[0], 1);
    TextDrawBoxColor(RakNetCopy[0], 255);
    TextDrawTextSize(RakNetCopy[0], 30.000000, 0.000000);
    TextDrawSetSelectable(RakNetCopy[0], 0);

    RakNetCopy[1] = TextDrawCreate(610.000000, 120.000000, "_");
    TextDrawBackgroundColor(RakNetCopy[1], 255);
    TextDrawFont(RakNetCopy[1], 1);
    TextDrawLetterSize(RakNetCopy[1], 0.500000, 34.299995);
    TextDrawColor(RakNetCopy[1], -1);
    TextDrawSetOutline(RakNetCopy[1], 0);
    TextDrawSetProportional(RakNetCopy[1], 1);
    TextDrawSetShadow(RakNetCopy[1], 1);
    TextDrawUseBox(RakNetCopy[1], 1);
    TextDrawBoxColor(RakNetCopy[1], 255);
    TextDrawTextSize(RakNetCopy[1], 410.000000, 0.000000);
    TextDrawSetSelectable(RakNetCopy[1], 0);

    RakNetCopy[2] = TextDrawCreate(220.000000, 329.000000, "_");
    TextDrawBackgroundColor(RakNetCopy[2], 255);
    TextDrawFont(RakNetCopy[2], 1);
    TextDrawLetterSize(RakNetCopy[2], 0.500000, 8.500000);
    TextDrawColor(RakNetCopy[2], -1);
    TextDrawSetOutline(RakNetCopy[2], 0);
    TextDrawSetProportional(RakNetCopy[2], 1);
    TextDrawSetShadow(RakNetCopy[2], 1);
    TextDrawUseBox(RakNetCopy[2], 1);
    TextDrawBoxColor(RakNetCopy[2], 0x38917fff);
    TextDrawTextSize(RakNetCopy[2], 40.000000, 0.000000);
    TextDrawSetSelectable(RakNetCopy[2], 0);

    RakNetCopy[3] = TextDrawCreate(170.000000, 411.000000, "_");
    TextDrawBackgroundColor(RakNetCopy[3], 255);
    TextDrawFont(RakNetCopy[3], 1);
    TextDrawLetterSize(RakNetCopy[3], 0.500000, 1.500000);
    TextDrawColor(RakNetCopy[3], -1);
    TextDrawSetOutline(RakNetCopy[3], 0);
    TextDrawSetProportional(RakNetCopy[3], 1);
    TextDrawSetShadow(RakNetCopy[3], 1);
    TextDrawUseBox(RakNetCopy[3], 1);
    TextDrawBoxColor(RakNetCopy[3], 0x38917fff);
    TextDrawTextSize(RakNetCopy[3], 90.000000, 0.000000);
    TextDrawSetSelectable(RakNetCopy[3], 0);

    RakNetCopy[4] = TextDrawCreate(480.000000, 410.000000, "_");
    TextDrawBackgroundColor(RakNetCopy[4], 255);
    TextDrawFont(RakNetCopy[4], 1);
    TextDrawLetterSize(RakNetCopy[4], 0.500000, 1.500000);
    TextDrawColor(RakNetCopy[4], -1);
    TextDrawSetOutline(RakNetCopy[4], 0);
    TextDrawSetProportional(RakNetCopy[4], 1);
    TextDrawSetShadow(RakNetCopy[4], 1);
    TextDrawUseBox(RakNetCopy[4], 1);
    TextDrawBoxColor(RakNetCopy[4], 0x38917fff);
    TextDrawTextSize(RakNetCopy[4], 415.000000, 0.000000);
    TextDrawSetSelectable(RakNetCopy[4], 0);

    RakNetCopy[5] = TextDrawCreate(540.000000, 410.000000, "_");
    TextDrawBackgroundColor(RakNetCopy[5], 255);
    TextDrawFont(RakNetCopy[5], 1);
    TextDrawLetterSize(RakNetCopy[5], 0.500000, 1.500000);
    TextDrawColor(RakNetCopy[5], -1);
    TextDrawSetOutline(RakNetCopy[5], 0);
    TextDrawSetProportional(RakNetCopy[5], 1);
    TextDrawSetShadow(RakNetCopy[5], 1);
    TextDrawUseBox(RakNetCopy[5], 1);
    TextDrawBoxColor(RakNetCopy[5], 0x38917fff);
    TextDrawTextSize(RakNetCopy[5], 478.000000, 0.000000);
    TextDrawSetSelectable(RakNetCopy[5], 0);

    RakNetCopy[6] = TextDrawCreate(583.000000, 410.000000, "_");
    TextDrawBackgroundColor(RakNetCopy[6], 255);
    TextDrawFont(RakNetCopy[6], 1);
    TextDrawLetterSize(RakNetCopy[6], 0.500000, 1.500000);
    TextDrawColor(RakNetCopy[6], -1);
    TextDrawSetOutline(RakNetCopy[6], 0);
    TextDrawSetProportional(RakNetCopy[6], 1);
    TextDrawSetShadow(RakNetCopy[6], 1);
    TextDrawUseBox(RakNetCopy[6], 1);
    TextDrawBoxColor(RakNetCopy[6], 0x38917fff);
    TextDrawTextSize(RakNetCopy[6], 558.000000, 0.000000);
    TextDrawSetSelectable(RakNetCopy[6], 0);

    RakNetCopy[7] = TextDrawCreate(605.000000, 410.000000, "_");
    TextDrawBackgroundColor(RakNetCopy[7], 255);
    TextDrawFont(RakNetCopy[7], 1);
    TextDrawLetterSize(RakNetCopy[7], 0.500000, 1.500000);
    TextDrawColor(RakNetCopy[7], -1);
    TextDrawSetOutline(RakNetCopy[7], 0);
    TextDrawSetProportional(RakNetCopy[7], 1);
    TextDrawSetShadow(RakNetCopy[7], 1);
    TextDrawUseBox(RakNetCopy[7], 1);
    TextDrawBoxColor(RakNetCopy[7], 0x38917fff);
    TextDrawTextSize(RakNetCopy[7], 581.000000, 0.000000);
    TextDrawSetSelectable(RakNetCopy[7], 0);

    RakNetCopy[8] = TextDrawCreate(542.000000, 126.000000, "_");
    TextDrawBackgroundColor(RakNetCopy[8], 255);
    TextDrawFont(RakNetCopy[8], 1);
    TextDrawLetterSize(RakNetCopy[8], 0.500000, 1.500000);
    TextDrawColor(RakNetCopy[8], -1);
    TextDrawSetOutline(RakNetCopy[8], 0);
    TextDrawSetProportional(RakNetCopy[8], 1);
    TextDrawSetShadow(RakNetCopy[8], 1);
    TextDrawUseBox(RakNetCopy[8], 1);
    TextDrawBoxColor(RakNetCopy[8], 0x38917fff);
    TextDrawTextSize(RakNetCopy[8], 478.000000, 0.000000);
    TextDrawSetSelectable(RakNetCopy[8], 0);

    RakNetCopy[9] = TextDrawCreate(605.000000, 126.000000, "_");
    TextDrawBackgroundColor(RakNetCopy[9], 255);
    TextDrawFont(RakNetCopy[9], 1);
    TextDrawLetterSize(RakNetCopy[9], 0.500000, 1.500000);
    TextDrawColor(RakNetCopy[9], -1);
    TextDrawSetOutline(RakNetCopy[9], 0);
    TextDrawSetProportional(RakNetCopy[9], 1);
    TextDrawSetShadow(RakNetCopy[9], 1);
    TextDrawUseBox(RakNetCopy[9], 1);
    TextDrawBoxColor(RakNetCopy[9], 0x38917fff);
    TextDrawTextSize(RakNetCopy[9], 542.000000, 0.000000);
    TextDrawSetSelectable(RakNetCopy[9], 0);

    RakNetCopy[10] = TextDrawCreate(478.000000, 126.000000, "_");
    TextDrawBackgroundColor(RakNetCopy[10], 255);
    TextDrawFont(RakNetCopy[10], 1);
    TextDrawLetterSize(RakNetCopy[10], 0.500000, 1.500000);
    TextDrawColor(RakNetCopy[10], -1);
    TextDrawSetOutline(RakNetCopy[10], 0);
    TextDrawSetProportional(RakNetCopy[10], 1);
    TextDrawSetShadow(RakNetCopy[10], 1);
    TextDrawUseBox(RakNetCopy[10], 1);
    TextDrawBoxColor(RakNetCopy[10], 0x38917fff);
    TextDrawTextSize(RakNetCopy[10], 415.000000, 0.000000);
    TextDrawSetSelectable(RakNetCopy[10], 0);

    RakNetCopy[11] = TextDrawCreate(478.000000, 147.000000, "_");
    TextDrawBackgroundColor(RakNetCopy[11], 255);
    TextDrawFont(RakNetCopy[11], 1);
    TextDrawLetterSize(RakNetCopy[11], 0.500000, 1.500000);
    TextDrawColor(RakNetCopy[11], -1);
    TextDrawSetOutline(RakNetCopy[11], 0);
    TextDrawSetProportional(RakNetCopy[11], 1);
    TextDrawSetShadow(RakNetCopy[11], 1);
    TextDrawUseBox(RakNetCopy[11], 1);
    TextDrawBoxColor(RakNetCopy[11], 0x38917fff);
    TextDrawTextSize(RakNetCopy[11], 415.000000, 0.000000);
    TextDrawSetSelectable(RakNetCopy[11], 0);

    RakNetCopy[12] = TextDrawCreate(542.000000, 147.000000, "_");
    TextDrawBackgroundColor(RakNetCopy[12], 255);
    TextDrawFont(RakNetCopy[12], 1);
    TextDrawLetterSize(RakNetCopy[12], 0.500000, 1.500000);
    TextDrawColor(RakNetCopy[12], -1);
    TextDrawSetOutline(RakNetCopy[12], 0);
    TextDrawSetProportional(RakNetCopy[12], 1);
    TextDrawSetShadow(RakNetCopy[12], 1);
    TextDrawUseBox(RakNetCopy[12], 1);
    TextDrawBoxColor(RakNetCopy[12], 0x38917fff);
    TextDrawTextSize(RakNetCopy[12], 478.000000, 0.000000);
    TextDrawSetSelectable(RakNetCopy[12], 0);

    RakNetCopy[13] = TextDrawCreate(605.000000, 147.000000, "_");
    TextDrawBackgroundColor(RakNetCopy[13], 255);
    TextDrawFont(RakNetCopy[13], 1);
    TextDrawLetterSize(RakNetCopy[13], 0.500000, 1.500000);
    TextDrawColor(RakNetCopy[13], -1);
    TextDrawSetOutline(RakNetCopy[13], 0);
    TextDrawSetProportional(RakNetCopy[13], 1);
    TextDrawSetShadow(RakNetCopy[13], 1);
    TextDrawUseBox(RakNetCopy[13], 1);
    TextDrawBoxColor(RakNetCopy[13], 0x38917fff);
    TextDrawTextSize(RakNetCopy[13], 542.000000, 0.000000);
    TextDrawSetSelectable(RakNetCopy[13], 0);

    RakNetCopy[14] = TextDrawCreate(605.000000, 171.000000, "_");
    TextDrawBackgroundColor(RakNetCopy[14], 255);
    TextDrawFont(RakNetCopy[14], 1);
    TextDrawLetterSize(RakNetCopy[14], 0.500000, 24.900000);
    TextDrawColor(RakNetCopy[14], -1);
    TextDrawSetOutline(RakNetCopy[14], 0);
    TextDrawSetProportional(RakNetCopy[14], 1);
    TextDrawSetShadow(RakNetCopy[14], 1);
    TextDrawUseBox(RakNetCopy[14], 1);
    TextDrawBoxColor(RakNetCopy[14], 0x38917fff);
    TextDrawTextSize(RakNetCopy[14], 415.000000, 0.000000);
    TextDrawSetSelectable(RakNetCopy[14], 0);

    RakNetCopy[15] = TextDrawCreate(105.000000, 411.000000, "CRAFT");
    TextDrawBackgroundColor(RakNetCopy[15], 255);
    TextDrawFont(RakNetCopy[15], 1);
    TextDrawLetterSize(RakNetCopy[15], 0.519999, 1.299999);
    TextDrawColor(RakNetCopy[15], -1);
    TextDrawSetOutline(RakNetCopy[15], 0);
    TextDrawSetProportional(RakNetCopy[15], 1);
    TextDrawTextSize(RakNetCopy[15], 150.000000, 18.000000);
    TextDrawSetShadow(RakNetCopy[15], 1);
    TextDrawSetSelectable(RakNetCopy[15], 1);

    RakNetCopy[16] = TextDrawCreate(427.000000, 410.000000, "DROP");
    TextDrawBackgroundColor(RakNetCopy[16], 255);
    TextDrawFont(RakNetCopy[16], 1);
    TextDrawLetterSize(RakNetCopy[16], 0.519999, 1.299999);
    TextDrawColor(RakNetCopy[16], -1);
    TextDrawSetOutline(RakNetCopy[16], 0);
    TextDrawSetProportional(RakNetCopy[16], 1);
    TextDrawTextSize(RakNetCopy[16], 470.000000, 18.000000);
    TextDrawSetShadow(RakNetCopy[16], 1);
    TextDrawSetSelectable(RakNetCopy[16], 1);

    RakNetCopy[17] = TextDrawCreate(484.000000, 410.000000, "DELETE");
    TextDrawBackgroundColor(RakNetCopy[17], 255);
    TextDrawFont(RakNetCopy[17], 1);
    TextDrawLetterSize(RakNetCopy[17], 0.479999, 1.299999);
    TextDrawColor(RakNetCopy[17], -1);
    TextDrawSetOutline(RakNetCopy[17], 0);
    TextDrawSetProportional(RakNetCopy[17], 1);
    TextDrawTextSize(RakNetCopy[17], 530.000000, 18.000000);
    TextDrawSetShadow(RakNetCopy[17], 1);
    TextDrawSetSelectable(RakNetCopy[17], 1);

    RakNetCopy[18] = TextDrawCreate(569.000000, 410.000000, "i");
    TextDrawBackgroundColor(RakNetCopy[18], 255);
    TextDrawFont(RakNetCopy[18], 1);
    TextDrawLetterSize(RakNetCopy[18], 0.479999, 1.299999);
    TextDrawColor(RakNetCopy[18], -1);
    TextDrawSetOutline(RakNetCopy[18], 0);
    TextDrawSetProportional(RakNetCopy[18], 1);
    TextDrawTextSize(RakNetCopy[18], 580.000000, 11.000000);
    TextDrawSetShadow(RakNetCopy[18], 1);
    TextDrawSetSelectable(RakNetCopy[18], 1);

    RakNetCopy[19] = TextDrawCreate(588.000000, 410.000000, "X");
    TextDrawBackgroundColor(RakNetCopy[19], 255);
    TextDrawFont(RakNetCopy[19], 1);
    TextDrawLetterSize(RakNetCopy[19], 0.479999, 1.299999);
    TextDrawColor(RakNetCopy[19], -1);
    TextDrawSetOutline(RakNetCopy[19], 0);
    TextDrawSetProportional(RakNetCopy[19], 1);
    TextDrawTextSize(RakNetCopy[19], 600.000000, 12.000000);
    TextDrawSetShadow(RakNetCopy[19], 1);
    TextDrawSetSelectable(RakNetCopy[19], 1);

    RakNetCopy[20] = TextDrawCreate(429.000000, 127.000000, "GIVE");
    TextDrawBackgroundColor(RakNetCopy[20], 255);
    TextDrawFont(RakNetCopy[20], 1);
    TextDrawLetterSize(RakNetCopy[20], 0.479999, 1.299999);
    TextDrawColor(RakNetCopy[20], -1);
    TextDrawSetOutline(RakNetCopy[20], 0);
    TextDrawSetProportional(RakNetCopy[20], 1);
    TextDrawTextSize(RakNetCopy[20], 465.000000, 18.000000);
    TextDrawSetShadow(RakNetCopy[20], 1);
    TextDrawSetSelectable(RakNetCopy[20], 1);

    RakNetCopy[21] = TextDrawCreate(497.000000, 127.000000, "BUY");
    TextDrawBackgroundColor(RakNetCopy[21], 255);
    TextDrawFont(RakNetCopy[21], 1);
    TextDrawLetterSize(RakNetCopy[21], 0.479999, 1.299999);
    TextDrawColor(RakNetCopy[21], -1);
    TextDrawSetOutline(RakNetCopy[21], 0);
    TextDrawSetProportional(RakNetCopy[21], 1);
    TextDrawTextSize(RakNetCopy[21], 530.000000, 18.000000);
    TextDrawSetShadow(RakNetCopy[21], 1);
    TextDrawSetSelectable(RakNetCopy[21], 1);

    RakNetCopy[22] = TextDrawCreate(557.000000, 127.000000, "SELL");
    TextDrawBackgroundColor(RakNetCopy[22], 255);
    TextDrawFont(RakNetCopy[22], 1);
    TextDrawLetterSize(RakNetCopy[22], 0.479999, 1.299999);
    TextDrawColor(RakNetCopy[22], -1);
    TextDrawSetOutline(RakNetCopy[22], 0);
    TextDrawSetProportional(RakNetCopy[22], 1);
    TextDrawTextSize(RakNetCopy[22], 580.000000, 18.000000);
    TextDrawSetShadow(RakNetCopy[22], 1);
    TextDrawSetSelectable(RakNetCopy[22], 1);

    RakNetCopy[23] = TextDrawCreate(435.000000, 147.000000, "INV");
    TextDrawBackgroundColor(RakNetCopy[23], 255);
    TextDrawFont(RakNetCopy[23], 1);
    TextDrawLetterSize(RakNetCopy[23], 0.479999, 1.299999);
    TextDrawColor(RakNetCopy[23], -1);
    TextDrawSetOutline(RakNetCopy[23], 0);
    TextDrawSetProportional(RakNetCopy[23], 1);
    TextDrawTextSize(RakNetCopy[23], 470.000000, 18.000000);
    TextDrawSetShadow(RakNetCopy[23], 1);
    TextDrawSetSelectable(RakNetCopy[23], 1);

    RakNetCopy[24] = TextDrawCreate(495.000000, 147.000000, "CAR");
    TextDrawBackgroundColor(RakNetCopy[24], 255);
    TextDrawFont(RakNetCopy[24], 1);
    TextDrawLetterSize(RakNetCopy[24], 0.479999, 1.299999);
    TextDrawColor(RakNetCopy[24], -1);
    TextDrawSetOutline(RakNetCopy[24], 0);
    TextDrawSetProportional(RakNetCopy[24], 1);
    TextDrawTextSize(RakNetCopy[24], 530.000000, 18.000000);
    TextDrawSetShadow(RakNetCopy[24], 1);
    TextDrawSetSelectable(RakNetCopy[24], 1);

    RakNetCopy[25] = TextDrawCreate(549.000000, 147.000000, "HOUSE");
    TextDrawBackgroundColor(RakNetCopy[25], 255);
    TextDrawFont(RakNetCopy[25], 1);
    TextDrawLetterSize(RakNetCopy[25], 0.479999, 1.299999);
    TextDrawColor(RakNetCopy[25], -1);
    TextDrawSetOutline(RakNetCopy[25], 0);
    TextDrawSetProportional(RakNetCopy[25], 1);
    TextDrawTextSize(RakNetCopy[25], 580.000000, 18.000000);
    TextDrawSetShadow(RakNetCopy[25], 1);
    TextDrawSetSelectable(RakNetCopy[25], 1);

    RakNetCopy[26] = TextDrawCreate(191.000000, 130.000000, "_");
    TextDrawAlignment(RakNetCopy[26], 2);
    TextDrawBackgroundColor(RakNetCopy[26], 255);
    TextDrawFont(RakNetCopy[26], 5);
    TextDrawLetterSize(RakNetCopy[26], -0.099999, -0.400000);
    TextDrawColor(RakNetCopy[26], -1);
    TextDrawSetOutline(RakNetCopy[26], 0);
    TextDrawSetProportional(RakNetCopy[26], 0);
    TextDrawSetShadow(RakNetCopy[26], 1);
    TextDrawUseBox(RakNetCopy[26], 1);
    TextDrawBoxColor(RakNetCopy[26], -1);
    TextDrawTextSize(RakNetCopy[26], 29.000000, 30.000000);
    TextDrawSetPreviewModel(RakNetCopy[26], 19461);
    TextDrawSetPreviewRot(RakNetCopy[26], -16.000000, 0.000000, -55.000000, 0.100000);
    TextDrawSetSelectable(RakNetCopy[26], 1);

    RakNetCopy[27] = TextDrawCreate(191.000000, 174.000000, "_");
    TextDrawAlignment(RakNetCopy[27], 2);
    TextDrawBackgroundColor(RakNetCopy[27], 255);
    TextDrawFont(RakNetCopy[27], 5);
    TextDrawLetterSize(RakNetCopy[27], -0.099999, -0.400000);
    TextDrawColor(RakNetCopy[27], -1);
    TextDrawSetOutline(RakNetCopy[27], 0);
    TextDrawSetProportional(RakNetCopy[27], 0);
    TextDrawSetShadow(RakNetCopy[27], 1);
    TextDrawUseBox(RakNetCopy[27], 1);
    TextDrawBoxColor(RakNetCopy[27], -1);
    TextDrawTextSize(RakNetCopy[27], 29.000000, 30.000000);
    TextDrawSetPreviewModel(RakNetCopy[27], 19461);
    TextDrawSetPreviewRot(RakNetCopy[27], -16.000000, 0.000000, -55.000000, 0.100000);
    TextDrawSetSelectable(RakNetCopy[27], 1);

    RakNetCopy[28] = TextDrawCreate(191.000000, 221.000000, "_");
    TextDrawAlignment(RakNetCopy[28], 2);
    TextDrawBackgroundColor(RakNetCopy[28], 255);
    TextDrawFont(RakNetCopy[28], 5);
    TextDrawLetterSize(RakNetCopy[28], -0.099999, -0.400000);
    TextDrawColor(RakNetCopy[28], -1);
    TextDrawSetOutline(RakNetCopy[28], 0);
    TextDrawSetProportional(RakNetCopy[28], 0);
    TextDrawSetShadow(RakNetCopy[28], 1);
    TextDrawUseBox(RakNetCopy[28], 1);
    TextDrawBoxColor(RakNetCopy[28], -1);
    TextDrawTextSize(RakNetCopy[28], 29.000000, 30.000000);
    TextDrawSetPreviewModel(RakNetCopy[28], 19461);
    TextDrawSetPreviewRot(RakNetCopy[28], -16.000000, 0.000000, -55.000000, 0.100000);
    TextDrawSetSelectable(RakNetCopy[28], 1);

    RakNetCopy[29] = TextDrawCreate(41.000000, 220.000000, "_");
    TextDrawAlignment(RakNetCopy[29], 2);
    TextDrawBackgroundColor(RakNetCopy[29], 255);
    TextDrawFont(RakNetCopy[29], 5);
    TextDrawLetterSize(RakNetCopy[29], -0.099999, -0.400000);
    TextDrawColor(RakNetCopy[29], -1);
    TextDrawSetOutline(RakNetCopy[29], 0);
    TextDrawSetProportional(RakNetCopy[29], 0);
    TextDrawSetShadow(RakNetCopy[29], 1);
    TextDrawUseBox(RakNetCopy[29], 1);
    TextDrawBoxColor(RakNetCopy[29], -1);
    TextDrawTextSize(RakNetCopy[29], 29.000000, 30.000000);
    TextDrawSetPreviewModel(RakNetCopy[29], 19461);
    TextDrawSetPreviewRot(RakNetCopy[29], -16.000000, 0.000000, -55.000000, 0.100000);
    TextDrawSetSelectable(RakNetCopy[29], 1);

    RakNetCopy[30] = TextDrawCreate(41.000000, 174.000000, "_");
    TextDrawAlignment(RakNetCopy[30], 2);
    TextDrawBackgroundColor(RakNetCopy[30], 255);
    TextDrawFont(RakNetCopy[30], 5);
    TextDrawLetterSize(RakNetCopy[30], -0.099999, -0.400000);
    TextDrawColor(RakNetCopy[30], -1);
    TextDrawSetOutline(RakNetCopy[30], 0);
    TextDrawSetProportional(RakNetCopy[30], 0);
    TextDrawSetShadow(RakNetCopy[30], 1);
    TextDrawUseBox(RakNetCopy[30], 1);
    TextDrawBoxColor(RakNetCopy[30], -1);
    TextDrawTextSize(RakNetCopy[30], 29.000000, 30.000000);
    TextDrawSetPreviewModel(RakNetCopy[30], 19461);
    TextDrawSetPreviewRot(RakNetCopy[30], -16.000000, 0.000000, -55.000000, 0.100000);
    TextDrawSetSelectable(RakNetCopy[30], 1);

    RakNetCopy[31] = TextDrawCreate(41.000000, 130.000000, "_");
    TextDrawAlignment(RakNetCopy[31], 2);
    TextDrawBackgroundColor(RakNetCopy[31], 255);
    TextDrawFont(RakNetCopy[31], 5);
    TextDrawLetterSize(RakNetCopy[31], -0.099999, -0.400000);
    TextDrawColor(RakNetCopy[31], -1);
    TextDrawSetOutline(RakNetCopy[31], 0);
    TextDrawSetProportional(RakNetCopy[31], 0);
    TextDrawSetShadow(RakNetCopy[31], 1);
    TextDrawUseBox(RakNetCopy[31], 1);
    TextDrawBoxColor(RakNetCopy[31], -1);
    TextDrawTextSize(RakNetCopy[31], 29.000000, 30.000000);
    TextDrawSetPreviewModel(RakNetCopy[31], 19461);
    TextDrawSetPreviewRot(RakNetCopy[31], -16.000000, 0.000000, -55.000000, 0.100000);
    TextDrawSetSelectable(RakNetCopy[31], 1);

    RakNetCopy[32] = TextDrawCreate(83.000000, 130.000000, "_");
    TextDrawAlignment(RakNetCopy[32], 2);
    TextDrawBackgroundColor(RakNetCopy[32], 0x38917fff);
    TextDrawFont(RakNetCopy[32], 5);
    TextDrawLetterSize(RakNetCopy[32], -0.099999, -0.400000);
    TextDrawColor(RakNetCopy[32], -1);
    TextDrawSetOutline(RakNetCopy[32], 0);
    TextDrawSetProportional(RakNetCopy[32], 0);
    TextDrawSetShadow(RakNetCopy[32], 1);
    TextDrawUseBox(RakNetCopy[32], 1);
    TextDrawBoxColor(RakNetCopy[32], 255);
    TextDrawTextSize(RakNetCopy[32], 97.000000, 120.000000);
    TextDrawSetPreviewModel(RakNetCopy[32], 0);
    TextDrawSetPreviewRot(RakNetCopy[32], 0.000000, 0.000000, 0.000000, 1.000000);
    TextDrawSetSelectable(RakNetCopy[32], 1);

    RakNetCopy[33] = TextDrawCreate(83.000000, 260.000000, "_");
    TextDrawAlignment(RakNetCopy[33], 2);
    TextDrawBackgroundColor(RakNetCopy[33], 255);
    TextDrawFont(RakNetCopy[33], 5);
    TextDrawLetterSize(RakNetCopy[33], -0.099999, -0.400000);
    TextDrawColor(RakNetCopy[33], -1);
    TextDrawSetOutline(RakNetCopy[33], 0);
    TextDrawSetProportional(RakNetCopy[33], 0);
    TextDrawSetShadow(RakNetCopy[33], 1);
    TextDrawUseBox(RakNetCopy[33], 1);
    TextDrawBoxColor(RakNetCopy[33], -1);
    TextDrawTextSize(RakNetCopy[33], 29.000000, 30.000000);
    TextDrawSetPreviewModel(RakNetCopy[33], 19461);
    TextDrawSetPreviewRot(RakNetCopy[33], -16.000000, 0.000000, -55.000000, 0.100000);
    TextDrawSetSelectable(RakNetCopy[33], 1);

    RakNetCopy[34] = TextDrawCreate(117.000000, 260.000000, "_");
    TextDrawAlignment(RakNetCopy[34], 2);
    TextDrawBackgroundColor(RakNetCopy[34], 255);
    TextDrawFont(RakNetCopy[34], 5);
    TextDrawLetterSize(RakNetCopy[34], -0.099999, -0.400000);
    TextDrawColor(RakNetCopy[34], -1);
    TextDrawSetOutline(RakNetCopy[34], 0);
    TextDrawSetProportional(RakNetCopy[34], 0);
    TextDrawSetShadow(RakNetCopy[34], 1);
    TextDrawUseBox(RakNetCopy[34], 1);
    TextDrawBoxColor(RakNetCopy[34], -1);
    TextDrawTextSize(RakNetCopy[34], 29.000000, 30.000000);
    TextDrawSetPreviewModel(RakNetCopy[34], 19461);
    TextDrawSetPreviewRot(RakNetCopy[34], -16.000000, 0.000000, -55.000000, 0.100000);
    TextDrawSetSelectable(RakNetCopy[34], 1);

    RakNetCopy[35] = TextDrawCreate(151.000000, 260.000000, "_");
    TextDrawAlignment(RakNetCopy[35], 2);
    TextDrawBackgroundColor(RakNetCopy[35], 255);
    TextDrawFont(RakNetCopy[35], 5);
    TextDrawLetterSize(RakNetCopy[35], -0.099999, -0.400000);
    TextDrawColor(RakNetCopy[35], -1);
    TextDrawSetOutline(RakNetCopy[35], 0);
    TextDrawSetProportional(RakNetCopy[35], 0);
    TextDrawSetShadow(RakNetCopy[35], 1);
    TextDrawUseBox(RakNetCopy[35], 1);
    TextDrawBoxColor(RakNetCopy[35], -1);
    TextDrawTextSize(RakNetCopy[35], 29.000000, 30.000000);
    TextDrawSetPreviewModel(RakNetCopy[35], 19461);
    TextDrawSetPreviewRot(RakNetCopy[35], -16.000000, 0.000000, -55.000000, 0.100000);
    TextDrawSetSelectable(RakNetCopy[35], 1);

    RakNetCopy[36] = TextDrawCreate(151.000000, 292.000000, "_");
    TextDrawAlignment(RakNetCopy[36], 2);
    TextDrawBackgroundColor(RakNetCopy[36], 255);
    TextDrawFont(RakNetCopy[36], 5);
    TextDrawLetterSize(RakNetCopy[36], -0.099999, -0.400000);
    TextDrawColor(RakNetCopy[36], -1);
    TextDrawSetOutline(RakNetCopy[36], 0);
    TextDrawSetProportional(RakNetCopy[36], 0);
    TextDrawSetShadow(RakNetCopy[36], 1);
    TextDrawUseBox(RakNetCopy[36], 1);
    TextDrawBoxColor(RakNetCopy[36], -1);
    TextDrawTextSize(RakNetCopy[36], 29.000000, 30.000000);
    TextDrawSetPreviewModel(RakNetCopy[36], 19461);
    TextDrawSetPreviewRot(RakNetCopy[36], -16.000000, 0.000000, -55.000000, 0.100000);
    TextDrawSetSelectable(RakNetCopy[36], 1);

    RakNetCopy[37] = TextDrawCreate(117.000000, 292.000000, "_");
    TextDrawAlignment(RakNetCopy[37], 2);
    TextDrawBackgroundColor(RakNetCopy[37], 255);
    TextDrawFont(RakNetCopy[37], 5);
    TextDrawLetterSize(RakNetCopy[37], -0.099999, -0.400000);
    TextDrawColor(RakNetCopy[37], -1);
    TextDrawSetOutline(RakNetCopy[37], 0);
    TextDrawSetProportional(RakNetCopy[37], 0);
    TextDrawSetShadow(RakNetCopy[37], 1);
    TextDrawUseBox(RakNetCopy[37], 1);
    TextDrawBoxColor(RakNetCopy[37], -1);
    TextDrawTextSize(RakNetCopy[37], 29.000000, 30.000000);
    TextDrawSetPreviewModel(RakNetCopy[37], 19461);
    TextDrawSetPreviewRot(RakNetCopy[37], -16.000000, 0.000000, -55.000000, 0.100000);
    TextDrawSetSelectable(RakNetCopy[37], 1);

    RakNetCopy[38] = TextDrawCreate(83.000000, 292.000000, "_");
    TextDrawAlignment(RakNetCopy[38], 2);
    TextDrawBackgroundColor(RakNetCopy[38], 255);
    TextDrawFont(RakNetCopy[38], 5);
    TextDrawLetterSize(RakNetCopy[38], -0.099999, -0.400000);
    TextDrawColor(RakNetCopy[38], -1);
    TextDrawSetOutline(RakNetCopy[38], 0);
    TextDrawSetProportional(RakNetCopy[38], 0);
    TextDrawSetShadow(RakNetCopy[38], 1);
    TextDrawUseBox(RakNetCopy[38], 1);
    TextDrawBoxColor(RakNetCopy[38], -1);
    TextDrawTextSize(RakNetCopy[38], 29.000000, 30.000000);
    TextDrawSetPreviewModel(RakNetCopy[38], 19461);
    TextDrawSetPreviewRot(RakNetCopy[38], -16.000000, 0.000000, -55.000000, 0.100000);
    TextDrawSetSelectable(RakNetCopy[38], 1);

    RakNetCopy[39] = TextDrawCreate(50.000000, 352.000000, "_");
    TextDrawAlignment(RakNetCopy[39], 2);
    TextDrawBackgroundColor(RakNetCopy[39], 255);
    TextDrawFont(RakNetCopy[39], 5);
    TextDrawLetterSize(RakNetCopy[39], -0.099999, -0.400000);
    TextDrawColor(RakNetCopy[39], -1);
    TextDrawSetOutline(RakNetCopy[39], 0);
    TextDrawSetProportional(RakNetCopy[39], 0);
    TextDrawSetShadow(RakNetCopy[39], 1);
    TextDrawUseBox(RakNetCopy[39], 1);
    TextDrawBoxColor(RakNetCopy[39], -1);
    TextDrawTextSize(RakNetCopy[39], 29.000000, 30.000000);
    TextDrawSetPreviewModel(RakNetCopy[39], 19461);
    TextDrawSetPreviewRot(RakNetCopy[39], -16.000000, 0.000000, -55.000000, 0.100000);
    TextDrawSetSelectable(RakNetCopy[39], 1);

    RakNetCopy[40] = TextDrawCreate(180.000000, 352.000000, "_");
    TextDrawAlignment(RakNetCopy[40], 2);
    TextDrawBackgroundColor(RakNetCopy[40], 255);
    TextDrawFont(RakNetCopy[40], 5);
    TextDrawLetterSize(RakNetCopy[40], -0.099999, -0.400000);
    TextDrawColor(RakNetCopy[40], -1);
    TextDrawSetOutline(RakNetCopy[40], 0);
    TextDrawSetProportional(RakNetCopy[40], 0);
    TextDrawSetShadow(RakNetCopy[40], 1);
    TextDrawUseBox(RakNetCopy[40], 1);
    TextDrawBoxColor(RakNetCopy[40], -1);
    TextDrawTextSize(RakNetCopy[40], 29.000000, 30.000000);
    TextDrawSetPreviewModel(RakNetCopy[40], 19461);
    TextDrawSetPreviewRot(RakNetCopy[40], -16.000000, 0.000000, -55.000000, 0.100000);
    TextDrawSetSelectable(RakNetCopy[40], 1);

    RakNetCopy[41] = TextDrawCreate(90.000000, 334.000000, "_");
    TextDrawAlignment(RakNetCopy[41], 2);
    TextDrawBackgroundColor(RakNetCopy[41], 255);
    TextDrawFont(RakNetCopy[41], 5);
    TextDrawLetterSize(RakNetCopy[41], -0.099999, -0.400000);
    TextDrawColor(RakNetCopy[41], -1);
    TextDrawSetOutline(RakNetCopy[41], 0);
    TextDrawSetProportional(RakNetCopy[41], 0);
    TextDrawSetShadow(RakNetCopy[41], 1);
    TextDrawUseBox(RakNetCopy[41], 1);
    TextDrawBoxColor(RakNetCopy[41], -1);
    TextDrawTextSize(RakNetCopy[41], 80.000000, 66.000000);
    TextDrawSetPreviewModel(RakNetCopy[41], 19461);
    TextDrawSetPreviewRot(RakNetCopy[41], -16.000000, 0.000000, -55.000000, 0.100000);
    TextDrawSetSelectable(RakNetCopy[41], 1);

 

 

Share this post


Link to post
Share on other sites

@Nister_Just, здесь нечего оптимизировать.

Нет, конечно, можно побыть дотошным и создать одну текстовую переменную вместо 40. Вы этим сэкономить целых (:bazar:) 40 ячеек.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • GhostWill
      By GhostWill
      Первый способ с админ проверкой:
      public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ) { if(pInfo[playerid][admin] != 0) return 1; SetPlayerPos(playerid,fX,fY,fZ); return 1; } Второй способ без проверки на админку:
      public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ) { return SetPlayerPos(playerid,fX,fY,fZ); }  
    • MarlonPra OLB
      By MarlonPra OLB
      Хорошо, надеюсь, у вас все хорошо, смотрите, у меня проблема и то, что я не работаю CyberMor голосовой чат, на моих windows PC отлично работает, открывая порты, но на моем хосте не обнаруживается микрофон, кто-нибудь знает, как его починить? (Я использую версию 3.1)
      Надеюсь, вы мне поможете, правда в том, что этот голосовой чат - бум моего сервера.
      Я говорю по-испански и пользуюсь услугами переводчика, извини, если это плохо написано, извини.