[Map] Design para Velocimetro
#1

Design

Contem um design simples, mais que em minha opiniгo ficou bonito e atraente .

Intuito da Criaзгo

Bom, estava sem nada a fazer e decidi criar esse Design parar passar o tempo

PrintScren


Cуdigo
pawn Код:
new Text:Textdraw[6];

Textdraw[0] = TextDrawCreate(138.000000, 394.000000, "MODELO");
TextDrawBackgroundColor(Textdraw[0], 255);
TextDrawFont(Textdraw[0], 2);
TextDrawLetterSize(Textdraw[0], 0.390000, 1.600000);
TextDrawColor(Textdraw[0], 16777215);
TextDrawSetOutline(Textdraw[0], 1);
TextDrawSetProportional(Textdraw[0], 1);
TextDrawSetSelectable(Textdraw[0], 0);

Textdraw[1] = TextDrawCreate(143.000000, 362.000000, "0");
TextDrawBackgroundColor(Textdraw[1], 255);
TextDrawFont(Textdraw[1], 2);
TextDrawLetterSize(Textdraw[1], 0.470000, 3.399998);
TextDrawColor(Textdraw[1], -1);
TextDrawSetOutline(Textdraw[1], 1);
TextDrawSetProportional(Textdraw[1], 1);
TextDrawSetSelectable(Textdraw[1], 0);

Textdraw[2] = TextDrawCreate(178.000000, 367.000000, "KM");
TextDrawBackgroundColor(Textdraw[2], 255);
TextDrawFont(Textdraw[2], 2);
TextDrawLetterSize(Textdraw[2], 0.240000, 0.899999);
TextDrawColor(Textdraw[2], -16776961);
TextDrawSetOutline(Textdraw[2], 1);
TextDrawSetProportional(Textdraw[2], 1);
TextDrawSetSelectable(Textdraw[2], 0);

Textdraw[3] = TextDrawCreate(172.000000, 368.000000, "/");
TextDrawBackgroundColor(Textdraw[3], 255);
TextDrawFont(Textdraw[3], 2);
TextDrawLetterSize(Textdraw[3], 2.310000, 2.299999);
TextDrawColor(Textdraw[3], -16776961);
TextDrawSetOutline(Textdraw[3], 1);
TextDrawSetProportional(Textdraw[3], 1);
TextDrawSetSelectable(Textdraw[3], 0);

Textdraw[4] = TextDrawCreate(194.000000, 379.000000, "H");
TextDrawBackgroundColor(Textdraw[4], 255);
TextDrawFont(Textdraw[4], 2);
TextDrawLetterSize(Textdraw[4], 0.330000, 1.400000);
TextDrawColor(Textdraw[4], -16776961);
TextDrawSetOutline(Textdraw[4], 1);
TextDrawSetProportional(Textdraw[4], 1);
TextDrawSetSelectable(Textdraw[4], 0);

Textdraw[5] = TextDrawCreate(132.000000, 354.000000, "gasolina");
TextDrawBackgroundColor(Textdraw[5], 255);
TextDrawFont(Textdraw[5], 2);
TextDrawLetterSize(Textdraw[5], 0.320000, 1.000000);
TextDrawColor(Textdraw[5], -1);
TextDrawSetOutline(Textdraw[5], 1);
TextDrawSetProportional(Textdraw[5], 1);
TextDrawSetSelectable(Textdraw[5], 0);
Reply
#2

Poderia te postado no tуpico cуdigo ъteis isso nгo se dar como fs olha o pouco de linha que tem

E ainda dava pra otimizar mais.

pawn Код:
new Text:Textdraw[6];
Reply
#3

Pelo menos tu deveria ter feito em PlayerTextDraw. E outra, faz um velocimetro com isso fera,nгo й difнcil fazer .
Abrзsss
Reply
#4

Ao meu ver foi correto vocк usar
pawn Код:
new Text:Textdraw[6];
E o camarada acima estб correto, poderia usar PlayerTextDraw, mas estб bom assim =)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)