SA-MP Forums Archive
[HELP]Speedo Meter [+REP] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]Speedo Meter [+REP] (/showthread.php?tid=528758)



[HELP]Speedo Meter [+REP] - FullyTheMonst3R - 29.07.2014

Heilа, i'm need help to create a SpeedoMeter with this TextDraw:
Quote:

new Text:TVLogo;
new Text:TBenzina;
new Text:TVelocita;
new Text:TModello;
new Text:TLinea1;
new Text:TLinea2;

TModello = TextDrawCreate(599.000000, 357.000000, "Modello: Voodoo");
TextDrawAlignment(TModello, 3);
TextDrawBackgroundColor(TModello, 65535);
TextDrawFont(TModello, 1);
TextDrawLetterSize(TModello, 0.290000, 1.700000);
TextDrawColor(TModello, -1);
TextDrawSetOutline(TModello, 1);
TextDrawSetProportional(TModello, 0);

TVelocita = TextDrawCreate(617.000000, 373.000000, "Velocita: 250 Km/h");
TextDrawAlignment(TVelocita, 3);
TextDrawBackgroundColor(TVelocita, 65535);
TextDrawFont(TVelocita, 1);
TextDrawLetterSize(TVelocita, 0.290000, 1.700000);
TextDrawColor(TVelocita, -1);
TextDrawSetOutline(TVelocita, 1);
TextDrawSetProportional(TVelocita, 0);

TBenzina = TextDrawCreate(587.000000, 390.000000, "Benzina: 100%");
TextDrawAlignment(TBenzina, 3);
TextDrawBackgroundColor(TBenzina, 65535);
TextDrawFont(TBenzina, 1);
TextDrawLetterSize(TBenzina, 0.290000, 1.700000);
TextDrawColor(TBenzina, -1);
TextDrawSetOutline(TBenzina, 1);
TextDrawSetProportional(TBenzina, 0);

TLinea1 = TextDrawCreate(729.000000, 404.000000, "-");
TextDrawAlignment(TLinea1, 3);
TextDrawBackgroundColor(TLinea1, 65535);
TextDrawFont(TLinea1, 1);
TextDrawLetterSize(TLinea1, 11.870009, 0.800000);
TextDrawColor(TLinea1, -1);
TextDrawSetOutline(TLinea1, 1);
TextDrawSetProportional(TLinea1, 0);

TLinea2 = TextDrawCreate(729.000000, 350.000000, "-");
TextDrawAlignment(TLinea2, 3);
TextDrawBackgroundColor(TLinea2, 65535);
TextDrawFont(TLinea2, 1);
TextDrawLetterSize(TLinea2, 11.870009, 0.800000);
TextDrawColor(TLinea2, -1);
TextDrawSetOutline(TLinea2, 1);
TextDrawSetProportional(TLinea2, 0);

TVLogo = TextDrawCreate(589.000000, 408.000000, "EV:RL");
TextDrawAlignment(TVLogo, 3);
TextDrawBackgroundColor(TVLogo, 65535);
TextDrawFont(TVLogo, 1);
TextDrawLetterSize(TVLogo, 0.489999, 2.199999);
TextDrawColor(TVLogo, -65281);
TextDrawSetOutline(TVLogo, 1);
TextDrawSetProportional(TVLogo, 0);

P.S: This speedometer is for RolePlay server, thanks.
I give REP!