[Ajuda] TextDraw nгo aparecendo. - 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 nгo aparecendo. (
/showthread.php?tid=506960)
TextDraw nгo aparecendo. -
LeoPac - 15.04.2014
Cуdigo
pawn Код:
// On top of script:
new Text:minhatext;
// In OnGameModeInit
minhatext = TextDrawCreate(579, 432, "LE4NDrO");
TextDrawFont(minhatext , 1);
TextDrawLetterSize(minhatext , 2, 14);
TextDrawColor(minhatext , 0x0080FFFF);
TextDrawSetOutline(minhatext , 0);
TextDrawSetProportional(minhatext , 1);
TextDrawSetShadow(minhatext , 1);
Print como fica a tela logado :
http://i.imgur.com/DdUav1U.jpg
Re: TextDraw nгo aparecendo. -
PT - 15.04.2014
falta mostrar
https://sampwiki.blast.hk/wiki/TextDrawShowForPlayer
Re: TextDraw nгo aparecendo. -
LeoPac - 15.04.2014
Como assim falta mostra ? me manda um exemplo como e para min por
Re: TextDraw nгo aparecendo. -
PT - 15.04.2014
pawn Код:
// em OnPlayerConnect
TextDrawShowForPlayer(playerid, minhatext);
Re: TextDraw nгo aparecendo. -
LeoPac - 15.04.2014
botei e continua sem aparecer.
Re: TextDraw nгo aparecendo. -
rjjj - 15.04.2014
As coordenadas desse TextDraw devem ser numericamente reduzidas para que ele fique visнvel na tela do jogo
.
O TextDraw apareceria se, por exemplo, as coordenadas X e Y atuais, 579.0 e 432.0, fossem reduzidas para 200.0 e 100.0, respectivamente.
Espero ter ajudado
.