- 0
Sign in to follow this
Followers
0
Как сменить цвет TextDraw
Asked by
MaJoR
,
Question
Лучший ответ
Wiki PlayerTextDrawColor И внимательно прочитай там примечание к функции
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
-
-
By fresko241
Привет, я только обучаюсь разработке. Хочу узнать у меня есть радио, музыка играет. Но как можно сделать чтобы музыка играла только в машине и слышна была и людям которые возле нее.
-
Posted · Report post
Добрый день!
Кто сможет подсказать как сменить цвет текстдрава
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