[Ajuda] Com Cores
#1

Pessoal sу queria ajuda em 2 coisas:

pawn Код:
GameTextForPlayer(playerid, "Abastecido", 3000, 4);
Como Inserir uma cor nesse texto acima.

E como inserir uma cor, em somente em uma parte do texto abaixo:

pawn Код:
format(string,sizeof(string),"Velocidade: %d Km/h",floatround(floatsqroot(((x*x)+(y*y))+(z*z))*250.666667));
            TextDrawSetString(speed[i],string);
            format(string,sizeof(string),"Motor: %d%",floatround(hp));
            TextDrawSetString(health[i],string);
            format(string,sizeof(string),"Gasolina: %dL",VehicleFuel[vehicleid]);
Quem puder ajudar ae Vlw
Reply
#2

Код:
~r~	=	red
~g~	=	green
~b~	= 	blue
~w~ 	=	white
~y~	=	yellow
~p~	=	purple
~l~	=	black
Dк uma olhada nesse link aqui para ver mais...
Reply
#3

GameTextStyle.
Reply
#4

Nгo existe nenhuma maneira de substituir isso: ~r~, nessa parte:

pawn Код:
format(string,sizeof(string),"Gasolina: ~l~%dL",VehicleFuel[vehicleid]);
Por uma cor personalizada?
Reply
#5

Funcionou assim no TextDraw?

@re: Nгo que eu saiba, nгo mecho com TextDraw, mas sу conheзo assim mesmo...
Reply
#6

ja tentou
{cor} ?
Reply
#7

Quote:
Originally Posted by BreakDriFT
Посмотреть сообщение
ja tentou
{cor} ?
Sim nгo funcionou
Reply
#8

pawn Код:
GameTextForPlayer(playerid, "~l~Abastecido", 3000, 4);
Reply
#9

Quote:
Originally Posted by BreakDriFT
Посмотреть сообщение
ja tentou
{cor} ?
TextDraw nгo aceita isso, se nгo me engano...
Quote:
Originally Posted by Felipe_Wesker
Посмотреть сообщение
pawn Код:
GameTextForPlayer(playerid, "~l~Abastecido", 3000, 4);
Uau, vocк conseguiu fazer a mesma coisa que eu havia explicado lб em cima. Parabйns !
Reply
#10

Pow nem sabia q tinham varios comentarios, n tinha atualizado a pag..

MatheusGabriel, como assim uma cor personalizada?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)