SA-MP Forums Archive
[Ajuda] PlayerTextDrawLetterSize - 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] PlayerTextDrawLetterSize (/showthread.php?tid=656486)



PlayerTextDrawLetterSize - Welconha - 17.07.2018

Estou transformando meu sistema de login todo em textdraw selecionбvel, fiz as textdraw pelo iTD..
Estб tudo certo atй chegar nessa parte de Size, nгo estou conseguindo colocar o tamanho correto, estб muito maior que as letras e fica uma boa бrea selecionбvel fora da palavra, queria saber como vocкs fazem pra configurar isso ?!

Код:
TextLogin[11][playerid] = CreatePlayerTextDraw(playerid, 290.823394, 185.500030, "LOGIN");
    PlayerTextDrawLetterSize(playerid, TextLogin[11][playerid], 0.449999, 1.600000);
    PlayerTextDrawAlignment(playerid, TextLogin[11][playerid], 1);
    PlayerTextDrawColor(playerid, TextLogin[11][playerid], -1);
    PlayerTextDrawSetShadow(playerid, TextLogin[11][playerid], 0);
    PlayerTextDrawSetOutline(playerid, TextLogin[11][playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, TextLogin[11][playerid], 255);
    PlayerTextDrawFont(playerid, TextLogin[11][playerid], 2);
    PlayerTextDrawSetProportional(playerid, TextLogin[11][playerid], 1);
    PlayerTextDrawSetSelectable(playerid, TextLogin[11][playerid], true);
Jб tentei colocar com Box e o PlayerTextDrawTextSize do tamanho do mesmo, mas nгo deu certo.


Re: PlayerTextDrawLetterSize - HelderPT - 17.07.2018

Se й para alterar o tamanho das letras eu acho que e essa funзao

PHP код:
PlayerTextDrawLetterSize 



Re: PlayerTextDrawLetterSize - Marllun - 17.07.2018

https://sampwiki.blast.hk/wiki/PlayerTextDrawTextSize


Re: PlayerTextDrawLetterSize - CALENZ021 - 17.07.2018

Fica assim mais ou menos.

PHP код:
TextLogin[11][playerid] = CreatePlayerTextDraw(playerid290.823394185.500030"LOGIN");
PlayerTextDrawLetterSize(playeridTextLogin[11][playerid], 0.4499991.600000);
PlayerTextDrawAlignment(playeridTextLogin[11][playerid], 1);
PlayerTextDrawColor(playeridTextLogin[11][playerid], -1);
PlayerTextDrawSetShadow(playeridTextLogin[11][playerid], 0);
PlayerTextDrawSetOutline(playeridTextLogin[11][playerid], 1);
PlayerTextDrawBackgroundColor(playeridTextLogin[11][playerid], 255);
PlayerTextDrawFont(playeridTextLogin[11][playerid], 2);
PlayerTextDrawSetProportional(playeridTextLogin[11][playerid], 1);
PlayerTextDrawSetSelectable(playeridTextLogin[11][playerid], true);
PlayerTextDrawTextSize(playeridTextLogin[11][playerid], 350.00000010.000000); 
Obs : Na ultima linha vocк edita conforme o segundo link ensina.

Veja :

Link№ : https://sampwiki.blast.hk/wiki/PlayerTextDrawTextSize
LinkІ : https://sampforum.blast.hk/showthread.php?tid=615824


Re: PlayerTextDrawLetterSize - Welconha - 18.07.2018

Quote:
Originally Posted by HelderPT
Посмотреть сообщение
Se й para alterar o tamanho das letras eu acho que e essa funзao

PHP код:
PlayerTextDrawLetterSize 
Queria ajustar o tamanho da TextSize..

Quote:
Originally Posted by Marllun
Посмотреть сообщение
Eu jб citei a essa funзгo, sу nгo sabia um meio de chegar nas coordenadas certas da minha textdraw..

Quote:
Originally Posted by CALENZ021
Посмотреть сообщение
Fica assim mais ou menos.

PHP код:
TextLogin[11][playerid] = CreatePlayerTextDraw(playerid290.823394185.500030"LOGIN");
PlayerTextDrawLetterSize(playeridTextLogin[11][playerid], 0.4499991.600000);
PlayerTextDrawAlignment(playeridTextLogin[11][playerid], 1);
PlayerTextDrawColor(playeridTextLogin[11][playerid], -1);
PlayerTextDrawSetShadow(playeridTextLogin[11][playerid], 0);
PlayerTextDrawSetOutline(playeridTextLogin[11][playerid], 1);
PlayerTextDrawBackgroundColor(playeridTextLogin[11][playerid], 255);
PlayerTextDrawFont(playeridTextLogin[11][playerid], 2);
PlayerTextDrawSetProportional(playeridTextLogin[11][playerid], 1);
PlayerTextDrawSetSelectable(playeridTextLogin[11][playerid], true);
PlayerTextDrawTextSize(playeridTextLogin[11][playerid], 350.00000010.000000); 
Obs : Na ultima linha vocк edita conforme o segundo link ensina.

Veja :

Link№ : https://sampwiki.blast.hk/wiki/PlayerTextDrawTextSize
LinkІ : https://sampforum.blast.hk/showthread.php?tid=615824
Fiz uma textsize com essas coordenadas e fui ajustando manualmente, consegui!
Agr estou com problema na textdraw RECUPERAR SENHA, estб quebrando linha..
o SENHA estб ficando de baixo do RECUPERAR, o que pode ser ?

@RESOLVIDO