Textdraw nгo some quando registra. -
best95 - 13.01.2015
Meu problema e de irritar.. ou nгo estou vendo oque e pra fazer... seguinte.. quando eu tenho a conta registrada tudo certo.. eu logo a textdraw some no spawnar o player .. porйm quando eu vou logar com conta nova e registro e vou spawnar a textdraw fica na tela.. como resolver pois ja estao para sumir no OnplayerSpawn e so esta sumindo quando tem conta registrada quando registra uma nova nгo some!!
OQUE EU FAЗOOOOO
Re: Textdraw nгo some quando registra. -
[BOPE]Seu._.Madruga - 13.01.2015
Cуdigos?
Re: Textdraw nгo some quando registra. -
best95 - 13.01.2015
Quais amigo? pois esta tudo certo esse problema so da quando entra alguem que nгo esta registrado!!
nгo tem erro no codigo em si.. so esse problema no registrar e spawnar e nгo sumir como quando loga ela some..
Re: Textdraw nгo some quando registra. -
ipsLuan - 13.01.2015
Vocк estб usando o
TextDrawHideForPlayer?
Re: Textdraw nгo some quando registra. -
best95 - 13.01.2015
Sim estou..
Re: Textdraw nгo some quando registra. -
ipsLuan - 13.01.2015
Quote:
Originally Posted by best95
Sim estou..
|
Posta o cуdigo, amigo.
Re: Textdraw nгo some quando registra. -
best95 - 13.01.2015
pawn Код:
Barra = TextDrawCreate(319.000000, -3.000000, ".");
TextDrawBackgroundColor(Barra, 255);
TextDrawFont(Barra, 0);
TextDrawBoxColor(Barra, 255);
TextDrawColor(Barra, 255);
TextDrawSetOutline(Barra, 1);
TextDrawSetProportional(Barra, 1);
TextDrawSetShadow(Barra, 1);
TextDrawAlignment(Barra, 2);
TextDrawUseBox(Barra, 1);
TextDrawLetterSize(Barra, 0.500000, 11.000000);
Barra2 = TextDrawCreate(319.000000, 348.000000, ".");
TextDrawBackgroundColor(Barra2, 255);
TextDrawFont(Barra2, 0);
TextDrawBoxColor(Barra2, 255);
TextDrawColor(Barra2, 255);
TextDrawSetOutline(Barra2, 1);
TextDrawSetProportional(Barra2, 1);
TextDrawSetShadow(Barra2, 1);
TextDrawAlignment(Barra2, 2);
TextDrawUseBox(Barra2, 1);
TextDrawLetterSize(Barra2, 0.539999, 13.399997);
Re: Textdraw nгo some quando registra. -
ipsLuan - 13.01.2015
Quote:
Originally Posted by best95
pawn Код:
Barra = TextDrawCreate(319.000000, -3.000000, "."); TextDrawBackgroundColor(Barra, 255); TextDrawFont(Barra, 0); TextDrawBoxColor(Barra, 255); TextDrawColor(Barra, 255); TextDrawSetOutline(Barra, 1); TextDrawSetProportional(Barra, 1); TextDrawSetShadow(Barra, 1); TextDrawAlignment(Barra, 2); TextDrawUseBox(Barra, 1); TextDrawLetterSize(Barra, 0.500000, 11.000000);
Barra2 = TextDrawCreate(319.000000, 348.000000, "."); TextDrawBackgroundColor(Barra2, 255); TextDrawFont(Barra2, 0); TextDrawBoxColor(Barra2, 255); TextDrawColor(Barra2, 255); TextDrawSetOutline(Barra2, 1); TextDrawSetProportional(Barra2, 1); TextDrawSetShadow(Barra2, 1); TextDrawAlignment(Barra2, 2); TextDrawUseBox(Barra2, 1); TextDrawLetterSize(Barra2, 0.539999, 13.399997);
|
E cade a parte do TextDrawHideForPlayer?
Apos o jogador logar, usa o TextDrawHideForPlayer pra esconder a TextDraw.
Re: Textdraw nгo some quando registra. -
ipsLuan - 13.01.2015
Tenta isto e poste os resultados.
pawn Код:
CMD:debug(playerid) {
TextDrawHideForPlayer(playerid, Textdraw0);
TextDrawHideForPlayer(playerid, Textdraw1);
TextDrawHideForPlayer(playerid, Barra);
TextDrawHideForPlayer(playerid, Barra2);
SendClientMessage(playerid, -1, "DEBUG: Comando executado e TextDraws retiradas!");
return 1;
}
Re: Textdraw nгo some quando registra. -
best95 - 13.01.2015
print do comando efetuado.. e sumiu as text no caso.. funcionou como o meu cmd /txd tbm.. mais isso teria q desapareзer quando spawnasse ne kkk q estranho ...
print abaixo: