SA-MP Forums Archive
[Pedido] TextDraw Velocimetro - 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: [Pedido] TextDraw Velocimetro (/showthread.php?tid=450184)



TextDraw Velocimetro - xxRaioxx - 11.07.2013

Olб,eu queria um TextDraw de velocнmetro,eu ainda estou comeзando a estudar TextDraw,se alguйm ajuda +REP e ficarei grato!


Re: TextDraw Velocimetro - DarckWilly - 11.07.2013

https://sampforum.blast.hk/showthread.php?tid=396699

Velocimetros й o que nгo falta..


Re: TextDraw Velocimetro - silenthill - 12.07.2013

pawn Код:
Velo[i] = TextDrawCreate(30,326, " ");
TextDrawFont(Velo[i],1);
TextDrawBackgroundColor(Velo[i], 255);
TextDrawSetOutline(Velo[i], 1);
TextDrawColor(Velo[i], -1);
TextDrawShowForPlayer (i, Velo[i]);
}
cod? nao entendi


Re: TextDraw Velocimetro - xxRaioxx - 12.07.2013

silenthill esse nгo pegou,e DarckWilly esse fica pra fora da tela :\


Re: TextDraw Velocimetro - silenthill - 12.07.2013

deu erro? tenta..c sabe onde bota ne

pawn Код:
new Text:velo[MAX_PLAYERS];
pawn Код:
Velo[i] = TextDrawCreate(30,326, " ");
TextDrawFont(Velo[i],1);
TextDrawBackgroundColor(Velo[i], 255);
TextDrawSetOutline(Velo[i], 1);
TextDrawColor(Velo[i], -1);
TextDrawShowForPlayer (i, Velo[i]);
}
pawn Код:
velo[playerid] = TextDrawCreate(230, 350,"~r~Velocidade:0Km/h");
TextDrawTextSize(velo[playerid], 450, 500);
TextDrawColor(velo[playerid], -1);
TextDrawUseBox(velo[playerid], 1);
TextDrawSetShadow(velo[playerid], 2);
TextDrawBoxColor(velo[playerid], 70);
TextDrawSetOutline(velo[playerid], 0);
TextDrawBackgroundColor(velo[playerid], 170);
TextDrawFont(velo[playerid], 1);
TextDrawSetProportional(velo[playerid], 1);
TextDrawHideForPlayer(playerid, velo[playerid]);
onplayspawn
pawn Код:
TextDrawHideForPlayer(playerid, velo[playerid]);