[Ajuda] Colocar senha em OnPlayerClickTextdraw
#3

A tela por completo quero usar somente em Textdraw, como ao colocar a senha, por exemplo:
Digite sua senha: ****
Nгo acredito que o cуdigo seja ъtil, porquк eu so quero ocultar os caracteres na Textdraw, mas aн estб:

Код:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
	if(clickedid == TelaDeLogin[9])
 	{
		TextDrawHideForPlayer(playerid, TelaDeLogin[9]);
		TextDrawHideForPlayer(playerid, TelaDeLogin[10]);
		TextDrawHideForPlayer(playerid, TelaDeLogin[11]);
		TextDrawHideForPlayer(playerid, TelaDeLogin[12]);
		TextDrawHideForPlayer(playerid, TelaDeLogin[13]);
		TextDrawHideForPlayer(playerid, TelaDeLogin[14]);
		TextDrawHideForPlayer(playerid, TelaDeLogin[15]);
		TextDrawHideForPlayer(playerid, TelaDeLogin[16]);
		TextDrawHideForPlayer(playerid, TelaDeLogin[17]);
		TextDrawHideForPlayer(playerid, TelaDeLogin[18]);
		TextDrawHideForPlayer(playerid, TelaDeLogin[19]);
		TextDrawHideForPlayer(playerid, TelaDeLogin[20]);
		TextDrawHideForPlayer(playerid, TelaDeLogin[21]);
		TextDrawHideForPlayer(playerid, TelaDeLogin[22]);
		TextDrawHideForPlayer(playerid, TelaDeLogin[23]);
		showRegistro(playerid);
	}
	if(clickedid == TelaRegistro[5])
	{
		format(gstring, sizeof(gstring), "%s", > Problema <);
		TextDrawSetString(TelaRegistro[5], gstring);
	}
	return 1;
}
O Loop nгo entendi muito bem, podia explicar melhor?!
Reply


Messages In This Thread
Colocar senha em OnPlayerClickTextdraw - by Felipe1241421 - 23.12.2017, 17:51
Re: Colocar senha em OnPlayerClickTextdraw - by DarkBr - 23.12.2017, 17:55
Re: Colocar senha em OnPlayerClickTextdraw - by Felipe1241421 - 23.12.2017, 18:17
Re: Colocar senha em OnPlayerClickTextdraw - by DarkBr - 23.12.2017, 18:24

Forum Jump:


Users browsing this thread: 1 Guest(s)