SA-MP Forums Archive
[Ajuda] TextDraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] TextDraw (/showthread.php?tid=491573)



TextDraw - Performancetotal - 31.01.2014

Galera na pcc_trucking o meu velocimetro ta assim http://prntscr.com/2o7hso porйm gostaria que ele ficasse assim http://prntscr.com/2o7hyg, quais os textdraw eu deveria usar para q ficasse como eu quero ?
aq estб o codigo com as textdraw do meu :
Код:
	// Setup the speedometer for the player
	APlayerData[playerid][Lataria] = TextDrawCreate(500.000000, 406.000000, " "); // Sem estar escrito nada 
	TextDrawSetOutline(APlayerData[playerid][Lataria], 1);
	TextDrawFont(APlayerData[playerid][Lataria], 2);
	TextDrawColor(APlayerData[playerid][Lataria],0xFAFAFA);
	APlayerData[playerid][SpeedometerText] = TextDrawCreate(500.0, 380.0, " "); //speedometer
	TextDrawSetOutline(APlayerData[playerid][SpeedometerText], 1);
	TextDrawColor(APlayerData[playerid][SpeedometerText],0xFAFAFA);
	TextDrawFont(APlayerData[playerid][SpeedometerText], 2);
	APlayerData[playerid][FuelGauge] = TextDrawCreate(500.0, 395.0, " "); // FuelGauge
	TextDrawColor(APlayerData[playerid][FuelGauge],0xFAFAFA);
	TextDrawFont(APlayerData[playerid][FuelGauge], 2);
	// Enable the TextDraw for this player
	TextDrawShowForPlayer(playerid, APlayerData[playerid][SpeedometerText]);
	TextDrawShowForPlayer(playerid, APlayerData[playerid][FuelGauge]);
	TextDrawShowForPlayer(playerid, APlayerData[playerid][Lataria]);