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



3 posts in this topic

Добрый день!

Кто сможет подсказать как сменить цвет текстдрава 

Спойлер

PlayerMenu[playerid][0] = CreatePlayerTextDraw(playerid, 590.594909, 182.916656, "usebox");
	PlayerTextDrawLetterSize(playerid, PlayerMenu[playerid][0], 0.000000, 13.970151);
	PlayerTextDrawTextSize(playerid, PlayerMenu[playerid][0], 438.542022, 0.000000);
	PlayerTextDrawAlignment(playerid, PlayerMenu[playerid][0], 1);
	PlayerTextDrawColor(playerid, PlayerMenu[playerid][0], 0);
	PlayerTextDrawUseBox(playerid, PlayerMenu[playerid][0], true);
	PlayerTextDrawBoxColor(playerid, PlayerMenu[playerid][0], 102);
	PlayerTextDrawSetShadow(playerid, PlayerMenu[playerid][0], 0);
	PlayerTextDrawSetOutline(playerid, PlayerMenu[playerid][0], 0);
	PlayerTextDrawFont(playerid, PlayerMenu[playerid][0], 0);

	PlayerMenu[playerid][1] = CreatePlayerTextDraw(playerid, 440.541717, 180.833343, "LD_SPAC:white");
	PlayerTextDrawLetterSize(playerid, PlayerMenu[playerid][1], 0.000000, 0.000000);
	PlayerTextDrawTextSize(playerid, PlayerMenu[playerid][1], 148.521270, 14.583312);
	PlayerTextDrawAlignment(playerid, PlayerMenu[playerid][1], 1);
	PlayerTextDrawColor(playerid, PlayerMenu[playerid][1], -1523963137);
	PlayerTextDrawSetShadow(playerid, PlayerMenu[playerid][1], 0);
	PlayerTextDrawSetOutline(playerid, PlayerMenu[playerid][1], 0);
	PlayerTextDrawFont(playerid, PlayerMenu[playerid][1], 4);

	PlayerMenu[playerid][2] = CreatePlayerTextDraw(playerid, 516.442382, 181.416763, "Èãðîâîå ìåíþ");
	PlayerTextDrawLetterSize(playerid, PlayerMenu[playerid][2], 0.265871, 1.244166);
	PlayerTextDrawAlignment(playerid, PlayerMenu[playerid][2], 2);
	PlayerTextDrawColor(playerid, PlayerMenu[playerid][2], -1);
	PlayerTextDrawSetShadow(playerid, PlayerMenu[playerid][2], 0);
	PlayerTextDrawSetOutline(playerid, PlayerMenu[playerid][2], 0);
	PlayerTextDrawBackgroundColor(playerid, PlayerMenu[playerid][2], 51);
	PlayerTextDrawFont(playerid, PlayerMenu[playerid][2], 2);
	PlayerTextDrawSetProportional(playerid, PlayerMenu[playerid][2], 1);

	PlayerMenu[playerid][3] = CreatePlayerTextDraw(playerid, 526.281066, 289.333221, "LD_SPAC:white");
	PlayerTextDrawLetterSize(playerid, PlayerMenu[playerid][3], 0.000000, 0.000000);
	PlayerTextDrawTextSize(playerid, PlayerMenu[playerid][3], 60.000000, 16.916673);
	PlayerTextDrawAlignment(playerid, PlayerMenu[playerid][3], 1);
	PlayerTextDrawColor(playerid, PlayerMenu[playerid][3], 255);
	PlayerTextDrawSetShadow(playerid, PlayerMenu[playerid][3], 0);
	PlayerTextDrawSetOutline(playerid, PlayerMenu[playerid][3], 0);
	PlayerTextDrawFont(playerid, PlayerMenu[playerid][3], 4);
	PlayerTextDrawSetSelectable(playerid, PlayerMenu[playerid][3], true);

	PlayerMenu[playerid][4] = CreatePlayerTextDraw(playerid, 538.463134, 293.416656, "Çàêðûòü");
	PlayerTextDrawLetterSize(playerid, PlayerMenu[playerid][4], 0.200000, 0.699999);
	PlayerTextDrawAlignment(playerid, PlayerMenu[playerid][4], 1);
	PlayerTextDrawColor(playerid, PlayerMenu[playerid][4], -1061109505);
	PlayerTextDrawSetShadow(playerid, PlayerMenu[playerid][4], 0);
	PlayerTextDrawSetOutline(playerid, PlayerMenu[playerid][4], 0);
	PlayerTextDrawBackgroundColor(playerid, PlayerMenu[playerid][4], 51);
	PlayerTextDrawFont(playerid, PlayerMenu[playerid][4], 2);
	PlayerTextDrawSetProportional(playerid, PlayerMenu[playerid][4], 1);


	PlayerMenu[playerid][5] = CreatePlayerTextDraw(playerid, 442.884185, 289.333282, "LD_SPAC:white");
	PlayerTextDrawLetterSize(playerid, PlayerMenu[playerid][5], 0.000000, 0.000000);
	PlayerTextDrawTextSize(playerid, PlayerMenu[playerid][5], 60.000000, 16.916673);
	PlayerTextDrawAlignment(playerid, PlayerMenu[playerid][5], 1);
	PlayerTextDrawColor(playerid, PlayerMenu[playerid][5], 255);
	PlayerTextDrawSetShadow(playerid, PlayerMenu[playerid][5], 0);
	PlayerTextDrawSetOutline(playerid, PlayerMenu[playerid][5], 0);
	PlayerTextDrawFont(playerid, PlayerMenu[playerid][5], 4);
	PlayerTextDrawSetSelectable(playerid, PlayerMenu[playerid][5], true);

	PlayerMenu[playerid][6] = CreatePlayerTextDraw(playerid, 472.869750, 293.416656, "Äàëåå");
	PlayerTextDrawLetterSize(playerid, PlayerMenu[playerid][6], 0.200000, 0.699998);
	PlayerTextDrawAlignment(playerid, PlayerMenu[playerid][6], 2);
	PlayerTextDrawColor(playerid, PlayerMenu[playerid][6], -1061109505);
	PlayerTextDrawSetShadow(playerid, PlayerMenu[playerid][6], 0);
	PlayerTextDrawSetOutline(playerid, PlayerMenu[playerid][6], 0);
	PlayerTextDrawBackgroundColor(playerid, PlayerMenu[playerid][6], 51);
	PlayerTextDrawFont(playerid, PlayerMenu[playerid][6], 2);
	PlayerTextDrawSetProportional(playerid, PlayerMenu[playerid][6], 1);

 

Вот ТекстДрав в нем есть надпись отвечающая за цвет PlayerTextDrawColor(playerid, PlayerMenu[playerid][0],0) но как сменить цвет я не знаю там много цифр а на 1 вообще 0 стоит

Share this post


Link to post
Share on other sites

Wiki PlayerTextDrawColor И внимательно прочитай там примечание к функции 

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

    • SCRIPTMAN
      By SCRIPTMAN
      Приветствую.
      Достаточно большое количество времени ищу мод под основу для сервера, останавливался на районе, но как-то не очень. В ютубе смотреть - там сливают такое, что...
      Знаю, что тема с основной заезженная, но всё же, уже 21 год и интересно, что сейчас можно взять?
      И ещё 1: Если у Вас есть хороший мод, не слитый с изменённым названием и парой исправленных багов, Вы готовы предоставить IP для теста, то пишите мне в ВК, с пометкой, что вы по поводу мода и желательно пару скриншотов бы, рассмотрим вариант покупки)
    • SteelPlay
      By SteelPlay
      Добрый вечер. Стоит мод Aurora RP, не могу изменить бонус, строку не могу саму найти. Помогите пожалуйста, что скажете то и скину.