Не показывается TextDraw - Форум Cheat-Master.ru
  • Страница 1 из 1
  • 1
Модератор форума: Admin_Bot, Admin_Bot2, Admin_Bot3, Admin_Bot4  
Не показывается TextDraw
Fresh_Stream Дата: Четверг, 24.03.2016, 13:40 | Сообщение # 1
Боец
Сообщений: 129
Статус: Offline
Код
new PlayerText:Recon[11][MAX_PLAYERS];


Код
stock Reconadm(playerid)
{
    Recon[0][playerid] = CreatePlayerTextDraw(playerid, 508.666656, 105.618515, "usebox");
    PlayerTextDrawLetterSize(playerid, Recon[0][playerid], 0.000000, 30.238061);
    PlayerTextDrawTextSize(playerid, Recon[0][playerid], 627.000000, 0.000000);
    PlayerTextDrawAlignment(playerid, Recon[0][playerid], 1);
    PlayerTextDrawColor(playerid, Recon[0][playerid], 0);
    PlayerTextDrawUseBox(playerid, Recon[0][playerid], true);
    PlayerTextDrawBoxColor(playerid, Recon[0][playerid], 255);
    PlayerTextDrawSetShadow(playerid, Recon[0][playerid], 0);
    PlayerTextDrawSetOutline(playerid, Recon[0][playerid], 0);
    PlayerTextDrawBackgroundColor(playerid, Recon[0][playerid], 255);
    PlayerTextDrawFont(playerid, Recon[0][playerid], 0);

    Recon[1][playerid] = CreatePlayerTextDraw(playerid, 628.000061, 107.692588, "usebox");
    PlayerTextDrawLetterSize(playerid, Recon[1][playerid], 0.000000, 29.834362);
    PlayerTextDrawTextSize(playerid, Recon[1][playerid], 507.333312, 0.000000);
    PlayerTextDrawAlignment(playerid, Recon[1][playerid], 1);
    PlayerTextDrawColor(playerid, Recon[1][playerid], 0);
    PlayerTextDrawUseBox(playerid, Recon[1][playerid], true);
    PlayerTextDrawBoxColor(playerid, Recon[1][playerid], 16777215);
    PlayerTextDrawSetShadow(playerid, Recon[1][playerid], 0);
    PlayerTextDrawSetOutline(playerid, Recon[1][playerid], 0);
    PlayerTextDrawFont(playerid, Recon[1][playerid], 0);

    Recon[2][playerid] = CreatePlayerTextDraw(playerid, 525.333618, 107.436973, "GetStat");
    PlayerTextDrawLetterSize(playerid, Recon[2][playerid], 0.449999, 1.600000);
    PlayerTextDrawAlignment(playerid, Recon[2][playerid], 1);
    PlayerTextDrawColor(playerid, Recon[2][playerid], -16776961);
    PlayerTextDrawSetShadow(playerid, Recon[2][playerid], 0);
    PlayerTextDrawSetOutline(playerid, Recon[2][playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Recon[2][playerid], 255);
    PlayerTextDrawFont(playerid, Recon[2][playerid], 2);
    PlayerTextDrawSetProportional(playerid, Recon[2][playerid], 1);
    PlayerTextDrawSetSelectable(playerid, Recon[2][playerid], true);

    Recon[3][playerid] = CreatePlayerTextDraw(playerid, 539.999755, 125.688835, "GetIP");
    PlayerTextDrawLetterSize(playerid, Recon[3][playerid], 0.449999, 1.600000);
    PlayerTextDrawAlignment(playerid, Recon[3][playerid], 1);
    PlayerTextDrawColor(playerid, Recon[3][playerid], -16776961);
    PlayerTextDrawSetShadow(playerid, Recon[3][playerid], 0);
    PlayerTextDrawSetOutline(playerid, Recon[3][playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Recon[3][playerid], 255);
    PlayerTextDrawFont(playerid, Recon[3][playerid], 2);
    PlayerTextDrawSetProportional(playerid, Recon[3][playerid], 1);
    PlayerTextDrawSetSelectable(playerid, Recon[3][playerid], true);

    Recon[4][playerid] = CreatePlayerTextDraw(playerid, 546.000366, 143.940750, "Kick");
    PlayerTextDrawLetterSize(playerid, Recon[4][playerid], 0.449999, 1.600000);
    PlayerTextDrawAlignment(playerid, Recon[4][playerid], 1);
    PlayerTextDrawColor(playerid, Recon[4][playerid], -16776961);
    PlayerTextDrawSetShadow(playerid, Recon[4][playerid], 0);
    PlayerTextDrawSetOutline(playerid, Recon[4][playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Recon[4][playerid], 255);
    PlayerTextDrawFont(playerid, Recon[4][playerid], 2);
    PlayerTextDrawSetProportional(playerid, Recon[4][playerid], 1);
    PlayerTextDrawSetSelectable(playerid, Recon[4][playerid], true);

    Recon[5][playerid] = CreatePlayerTextDraw(playerid, 541.333435, 163.437133, "Warn");
    PlayerTextDrawLetterSize(playerid, Recon[5][playerid], 0.449999, 1.600000);
    PlayerTextDrawAlignment(playerid, Recon[5][playerid], 1);
    PlayerTextDrawColor(playerid, Recon[5][playerid], -16776961);
    PlayerTextDrawSetShadow(playerid, Recon[5][playerid], 0);
    PlayerTextDrawSetOutline(playerid, Recon[5][playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Recon[5][playerid], 255);
    PlayerTextDrawFont(playerid, Recon[5][playerid], 2);
    PlayerTextDrawSetProportional(playerid, Recon[5][playerid], 1);
    PlayerTextDrawSetSelectable(playerid, Recon[5][playerid], true);

    Recon[6][playerid] = CreatePlayerTextDraw(playerid, 549.333312, 183.348190, "Ban");
    PlayerTextDrawLetterSize(playerid, Recon[6][playerid], 0.449999, 1.600000);
    PlayerTextDrawAlignment(playerid, Recon[6][playerid], 1);
    PlayerTextDrawColor(playerid, Recon[6][playerid], -16776961);
    PlayerTextDrawSetShadow(playerid, Recon[6][playerid], 0);
    PlayerTextDrawSetOutline(playerid, Recon[6][playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Recon[6][playerid], 255);
    PlayerTextDrawFont(playerid, Recon[6][playerid], 2);
    PlayerTextDrawSetProportional(playerid, Recon[6][playerid], 1);
    PlayerTextDrawSetSelectable(playerid, Recon[6][playerid], true);

    Recon[7][playerid] = CreatePlayerTextDraw(playerid, 536.999755, 206.162948, "Refresh");
    PlayerTextDrawLetterSize(playerid, Recon[7][playerid], 0.449999, 1.600000);
    PlayerTextDrawAlignment(playerid, Recon[7][playerid], 1);
    PlayerTextDrawColor(playerid, Recon[7][playerid], -65281);
    PlayerTextDrawSetShadow(playerid, Recon[7][playerid], 0);
    PlayerTextDrawSetOutline(playerid, Recon[7][playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Recon[7][playerid], 255);
    PlayerTextDrawFont(playerid, Recon[7][playerid], 3);
    PlayerTextDrawSetProportional(playerid, Recon[7][playerid], 1);
    PlayerTextDrawSetSelectable(playerid, Recon[7][playerid], true);

    Recon[8][playerid] = CreatePlayerTextDraw(playerid, 548.333496, 228.977798, "Next");
    PlayerTextDrawLetterSize(playerid, Recon[8][playerid], 0.449999, 1.600000);
    PlayerTextDrawAlignment(playerid, Recon[8][playerid], 1);
    PlayerTextDrawColor(playerid, Recon[8][playerid], -65281);
    PlayerTextDrawUseBox(playerid, Recon[8][playerid], true);
    PlayerTextDrawBoxColor(playerid, Recon[8][playerid], 0);
    PlayerTextDrawSetShadow(playerid, Recon[8][playerid], 0);
    PlayerTextDrawSetOutline(playerid, Recon[8][playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Recon[8][playerid], 255);
    PlayerTextDrawFont(playerid, Recon[8][playerid], 3);
    PlayerTextDrawSetProportional(playerid, Recon[8][playerid], 1);
    PlayerTextDrawSetSelectable(playerid, Recon[8][playerid], true);

    Recon[9][playerid] = CreatePlayerTextDraw(playerid, 548.333312, 251.792572, "Back");
    PlayerTextDrawLetterSize(playerid, Recon[9][playerid], 0.449999, 1.600000);
    PlayerTextDrawAlignment(playerid, Recon[9][playerid], 1);
    PlayerTextDrawColor(playerid, Recon[9][playerid], -65281);
    PlayerTextDrawSetShadow(playerid, Recon[9][playerid], 0);
    PlayerTextDrawSetOutline(playerid, Recon[9][playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, Recon[9][playerid], 255);
    PlayerTextDrawFont(playerid, Recon[9][playerid], 3);
    PlayerTextDrawSetProportional(playerid, Recon[9][playerid], 1);
    PlayerTextDrawSetSelectable(playerid, Recon[9][playerid], true);

    Recon[10][playerid] = CreatePlayerTextDraw(playerid, 517.333312, 272.118499, "Skin");
    PlayerTextDrawLetterSize(playerid, Recon[10][playerid], 0.000000, 0.000000);
    PlayerTextDrawTextSize(playerid, Recon[10][playerid], 100.000000, 98.311126);
    PlayerTextDrawAlignment(playerid, Recon[10][playerid], 1);
    PlayerTextDrawColor(playerid, Recon[10][playerid], -1);
    PlayerTextDrawUseBox(playerid, Recon[10][playerid], true);
    PlayerTextDrawBoxColor(playerid, Recon[10][playerid], 0);
    PlayerTextDrawSetShadow(playerid, Recon[10][playerid], 0);
    PlayerTextDrawSetOutline(playerid, Recon[10][playerid], 0);
    PlayerTextDrawFont(playerid, Recon[10][playerid], 5);
    PlayerTextDrawSetSelectable(playerid, Recon[10][playerid], true);
    PlayerTextDrawSetPreviewModel(playerid, Recon[10][playerid], 23);//skin
    PlayerTextDrawSetPreviewRot(playerid, Recon[10][playerid], 359.000000, 0.000000, 0.000000, 1.000000);
}


Код
CMD:recon(playerid)
{
    Reconadm(playerid);
  return true;
}


FCS

Работы:
[Урок]Система Satiety - http://cheat-master.ru/forum/117-584800-1
[Command]Снять одежду - http://cheat-master.ru/forum/124-567074-1
[FS]Admin Helper - http://cheat-master.ru/forum/122-589828-1
[PWN]new.pwn со всеми пабликами - http://cheat-master.ru/forum/125-718522-1
=) Дата: Четверг, 24.03.2016, 14:21 | Сообщение # 2
Боец
Сообщений: 271
Статус: Offline
Этим кодом ты только создаешь текстдравы. Добавь в конец стока:
Код

for(new i = 0;i < 11;i++) PlayerTextDrawShow(playerid,Recon[i][playerid]);


Сообщение отредактировал =) - Четверг, 24.03.2016, 14:21
Fresh_Stream Дата: Четверг, 24.03.2016, 14:42 | Сообщение # 3
Боец
Сообщений: 129
Статус: Offline
=), Спасибо

FCS

Работы:
[Урок]Система Satiety - http://cheat-master.ru/forum/117-584800-1
[Command]Снять одежду - http://cheat-master.ru/forum/124-567074-1
[FS]Admin Helper - http://cheat-master.ru/forum/122-589828-1
[PWN]new.pwn со всеми пабликами - http://cheat-master.ru/forum/125-718522-1


Сообщение отредактировал Fresh_Stream - Четверг, 24.03.2016, 14:53
Artem_Buero Дата: Суббота, 26.03.2016, 09:42 | Сообщение # 4
Сообщений: 4223
Статус: Offline


МОЙ ВК - https://vk.com/gospodin_buero
  • Страница 1 из 1
  • 1
Поиск:
Статистика Форума
Лучшие пользователи
Admin [39113]

GеNius [7210]

[CM]Russel [5557]

kenlo763 [4952]

[CM]AGRESSOR [4639]

Snake_Firm [4452]

Сэс [4416]

Artem_Buero [4223]

[CM]Durman [3204]

[CM]Рафаэль [3080]

iMaddy [2855]

sky_Woker [2854]

getrekt [2745]

Новые пользователи
flybro1337 [22:50]

amerikasdfghjkl [20:32]

umarmagonedov21 [12:03]

vlabsbd [03:43]

jeffreycollman [23:06]

infait228_aye [20:43]

uradzordan5 [16:32]

Donater192814 [16:30]

ivanpro777ooo [22:18]

FoxyMix [21:38]

pororo39084723 [21:21]

Visionseh [20:29]

Danik_Ursu [15:10]