Sign in to follow this  
Followers 0
Aurum

Textdraw Спидометр

1 post in this topic

Здравия.

Вот Вам спидометр.

Делал на скорую руку, поэтому строго не судите.

Спойлер

image.php?di=R5EJ

Код:

Спойлер


//Player Textdraws:

new PlayerText:Textdraw0[MAX_PLAYERS];
new PlayerText:Textdraw1[MAX_PLAYERS];
new PlayerText:Textdraw2[MAX_PLAYERS];
new PlayerText:Textdraw3[MAX_PLAYERS];
new PlayerText:Textdraw4[MAX_PLAYERS];
new PlayerText:Textdraw5[MAX_PLAYERS];
new PlayerText:Textdraw6[MAX_PLAYERS];
new PlayerText:Textdraw7[MAX_PLAYERS];
new PlayerText:Textdraw8[MAX_PLAYERS];
new PlayerText:Textdraw9[MAX_PLAYERS];
new PlayerText:Textdraw10[MAX_PLAYERS];
new PlayerText:Textdraw11[MAX_PLAYERS];
new PlayerText:Textdraw12[MAX_PLAYERS];


Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 411.500000, 355.544433, "usebox");
PlayerTextDrawLetterSize(playerid, Textdraw0[playerid], 0.000000, 6.666049);
PlayerTextDrawTextSize(playerid, Textdraw0[playerid], 231.000000, 0.000000);
PlayerTextDrawAlignment(playerid, Textdraw0[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw0[playerid], 0);
PlayerTextDrawUseBox(playerid, Textdraw0[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw0[playerid], 102);
PlayerTextDrawSetShadow(playerid, Textdraw0[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw0[playerid], 0);
PlayerTextDrawFont(playerid, Textdraw0[playerid], 0);

Textdraw1[playerid] = CreatePlayerTextDraw(playerid, 292.000000, 353.422271, "123 KM/H");
PlayerTextDrawLetterSize(playerid, Textdraw1[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw1[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw1[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw1[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw1[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw1[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw1[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw1[playerid], 1);

Textdraw2[playerid] = CreatePlayerTextDraw(playerid, 236.000000, 371.466674, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, Textdraw2[playerid], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, Textdraw2[playerid], 15.500000, 16.177795);
PlayerTextDrawAlignment(playerid, Textdraw2[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw2[playerid], -16776961);
PlayerTextDrawSetShadow(playerid, Textdraw2[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw2[playerid], 0);
PlayerTextDrawFont(playerid, Textdraw2[playerid], 4);

Textdraw3[playerid] = CreatePlayerTextDraw(playerid, 236.000000, 391.377838, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, Textdraw3[playerid], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, Textdraw3[playerid], 15.500000, 16.177795);
PlayerTextDrawAlignment(playerid, Textdraw3[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw3[playerid], -16776961);
PlayerTextDrawSetShadow(playerid, Textdraw3[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw3[playerid], 0);
PlayerTextDrawFont(playerid, Textdraw3[playerid], 4);

Textdraw4[playerid] = CreatePlayerTextDraw(playerid, 253.500000, 370.844512, "LOCK");
PlayerTextDrawLetterSize(playerid, Textdraw4[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw4[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw4[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw4[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw4[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw4[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw4[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw4[playerid], 1);

Textdraw5[playerid] = CreatePlayerTextDraw(playerid, 253.500000, 391.377899, "LIGHT");
PlayerTextDrawLetterSize(playerid, Textdraw5[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw5[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw5[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw5[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw5[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw5[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw5[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw5[playerid], 1);

Textdraw6[playerid] = CreatePlayerTextDraw(playerid, 390.500000, 371.466674, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, Textdraw6[playerid], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, Textdraw6[playerid], 16.000000, 16.800018);
PlayerTextDrawAlignment(playerid, Textdraw6[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw6[playerid], -16776961);
PlayerTextDrawSetShadow(playerid, Textdraw6[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw6[playerid], 0);
PlayerTextDrawFont(playerid, Textdraw6[playerid], 4);

Textdraw7[playerid] = CreatePlayerTextDraw(playerid, 339.500000, 392.000091, "FUEL:");
PlayerTextDrawLetterSize(playerid, Textdraw7[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw7[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw7[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw7[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw7[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw7[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw7[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw7[playerid], 1);

Textdraw8[playerid] = CreatePlayerTextDraw(playerid, 339.000000, 370.844451, "ENGINE");
PlayerTextDrawLetterSize(playerid, Textdraw8[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw8[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw8[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw8[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw8[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw8[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw8[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw8[playerid], 1);

Textdraw9[playerid] = CreatePlayerTextDraw(playerid, 383.000000, 392.622253, "123");
PlayerTextDrawLetterSize(playerid, Textdraw9[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw9[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw9[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw9[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw9[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw9[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw9[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw9[playerid], 1);

Textdraw10[playerid] = CreatePlayerTextDraw(playerid, 232.500000, 408.177795, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, Textdraw10[playerid], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, Textdraw10[playerid], 177.000000, 14.311120);
PlayerTextDrawAlignment(playerid, Textdraw10[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw10[playerid], -1061109505);
PlayerTextDrawSetShadow(playerid, Textdraw10[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw10[playerid], 0);
PlayerTextDrawFont(playerid, Textdraw10[playerid], 4);

Textdraw11[playerid] = CreatePlayerTextDraw(playerid, 235.000000, 407.555603, "ARZAMAS");
PlayerTextDrawLetterSize(playerid, Textdraw11[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw11[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw11[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw11[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw11[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw11[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw11[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw11[playerid], 1);

Textdraw12[playerid] = CreatePlayerTextDraw(playerid, 346.500000, 407.555664, "Cheetah");
PlayerTextDrawLetterSize(playerid, Textdraw12[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw12[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw12[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw12[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw12[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw12[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw12[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw12[playerid], 1);
 

Оценивайте, критикуйте. 

Share this post


Link to post
Share on other sites

Your content will need to be approved by a moderator

Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   You have pasted content with formatting.   Remove formatting

  Only 75 emoticons maximum are allowed.

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

×   Your previous content has been restored.   Clear editor

Loading...
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • Nicholson Scaletta
      By Nicholson Scaletta
      Всем привет!
      Что не так сделал? 
      case DIALOG_GOV_TIME1: { if(!response) return 1; new string[150]; switch(listitem) { case 0: { format(string, sizeof(string), "Текст %s %s %s", GetPlayerNameEx(playerid), GetPlayerTeam(playerid), GetPlayerJobAndRankName(playerid)); ShowPlayerDialog(playerid, DIALOG_TEST_GOV, 2, "{FFCC00}Текст", string, "Вперед", "Назад"); } } { case 1: { format(string, sizeof(string), "Текст: %s %s %s", GetPlayerNameEx(playerid), GetPlayerTeam(playerid), GetPlayerJobAndRankName(playerid)); ShowPlayerDialog(playerid, DIALOG_TEST_GOV, 2, "{FFCC00}Текст", string, "Вперед", "Назад"); } } }  
    • Senya Kolymbijskij
      By Senya Kolymbijskij
      C:\gamemodes\new.pwn(6754) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(6766) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(6775) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(6785) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(7864) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(7872) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(7904) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(7910) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(7943) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(8005) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(8012) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(8027) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(8033) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(8048) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(8062) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(8102) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(8125) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(8132) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(8267) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(8275) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(8294) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(8309) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(8312) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(8332) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(8335) : error 017: undefined symbol "SCM"
      C:\gamemodes\new.pwn(8382) : error 017: undefined symbol "SCM"
       
      такие ошибки что делать???
      @mr_sasha087 @DEST Помогите!!
      Это строки  там где  SendClientMessage есть @mr_sasha087 @DEST Помогите!!
      @odosenok
    • Awesome Basketball
      By Awesome Basketball
      Нужен человек, который сделает лаунчер на андройд, Цену пишите в комментариях
      Желательно с примерами работ
      ТЗ:
      3 экрана - Сервера, Настройки и Донат
      Сервера - список серверов и онлайн на них
      Настройки - стандартно: ваш ник, переустановить лаунчер, клиент, кэш
      Донат - Ввод ника, выбор услуг с ценами, и оплата
       
    • Guest Слава
      By Guest Слава
      Кто готов сделать лаучнер для проекта крмп звоните в дс: vadimyst#5775 - ЦЕНА ДОГОВОРНАЯ
    • Сергей Помазан
      By Сергей Помазан
      как можно сделать так что-бы сервер понял что человек сидит с лаунчера (c#), я в этом не сильно понимаю, могу купить решение у кого есть