Quadrado Preto no inicio? -
EduardoRFS - 05.08.2012
Como faz aqueles quadrados pretos um embaixo outro em cima no inicio do server na parte do login?
Respuesta: Quadrado Preto no inicio? -
ipsBruno - 05.08.2012
Tem uma imagem para mostrar? Provavelmente й TextDraw, ou ShowPlayerDialog.
Re: Quadrado Preto no inicio? -
humildadeforever - 05.08.2012
Aquilos sгo textdraw. Й fбcil fazer, use o Zamaroht's Text Draw Editor
https://sampforum.blast.hk/showthread.php?tid=290640
https://sampforum.blast.hk/showthread.php?tid=117851
Aн vocк digita qualquer texto e deixa o Box (caixa) como On, depois vocк dб um resize e aumenta a box.
Re: Quadrado Preto no inicio? -
Sampizito - 05.08.2012
Humildade, acho que ele se refere a dialogs..
@Topic
Tente postar 1 ss , para ficar mais fбcil de identificar o que vocк deseja, pois no forum existem inumeros tutoriais sobre textdraws e dialogs.
Re: Quadrado Preto no inicio? -
humildadeforever - 05.08.2012
Quote:
Originally Posted by Sampizito
Humildade, acho que ele se refere a dialogs..
@Topic
Tente postar 1 ss , para ficar mais fбcil de identificar o que vocк deseja, pois no forum existem inumeros tutoriais sobre textdraws e dialogs.
|
"quadrados pretos um embaixo outro em cima"
Nгo dб para mostrar 2 dialogs ao mesmo tempo, й textdraw
Re: Quadrado Preto no inicio? -
Sampizito - 05.08.2012
Ah й eu nen tinha lindo direito
Respuesta: Quadrado Preto no inicio? -
Luciano* - 05.08.2012
O ViniBorn tinha ajudado um membro com a mesma duvida, se eu achar o tуpico posto aqui pra voce.
Re: Quadrado Preto no inicio? -
dimmy_ - 05.08.2012
Peguei do meu GM coloque no seu
No TOPO
pawn Код:
new Text:EmCima[MAX_PLAYERS],Text:EmBaixo[MAX_PLAYERS];
No OnGameModeInit
pawn Код:
for(new Jogadores = 0; Jogadores < MAX_PLAYERS; Jogadores++)
{
EmCima[Jogadores] = TextDrawCreate(1.000000,-45.000000,"__");
EmBaixo[Jogadores] = TextDrawCreate(-2.000000,371.000000,"__");
TextDrawUseBox(EmCima[Jogadores],1);
TextDrawBoxColor(EmCima[Jogadores],0x000000ff);
TextDrawTextSize(EmCima[Jogadores],655.000000,80.000000);
TextDrawUseBox(EmBaixo[Jogadores],1);
TextDrawBoxColor(EmBaixo[Jogadores],0x000000ff);
TextDrawTextSize(EmBaixo[Jogadores],840.000000,240.000000);
TextDrawAlignment(EmCima[Jogadores],0);
TextDrawAlignment(EmBaixo[Jogadores],0);
TextDrawBackgroundColor(EmCima[Jogadores],0x000000ff);
TextDrawBackgroundColor(EmBaixo[Jogadores],0x000000ff);
TextDrawFont(EmCima[Jogadores],3);
TextDrawLetterSize(EmCima[Jogadores],1.000000,14.000000);
TextDrawFont(EmBaixo[Jogadores],3);
TextDrawLetterSize(EmBaixo[Jogadores],1.000000,24.000000);
TextDrawColor(EmCima[Jogadores],0xffffffff);
TextDrawColor(EmBaixo[Jogadores],0xffffffff);
TextDrawSetOutline(EmCima[Jogadores],1);
TextDrawSetOutline(EmBaixo[Jogadores],1);
TextDrawSetProportional(EmCima[Jogadores],1);
TextDrawSetProportional(EmBaixo[Jogadores],1);
TextDrawSetShadow(EmCima[Jogadores],1);
TextDrawSetShadow(EmBaixo[Jogadores],1);
}
No OnPlayerConnect
pawn Код:
TextDrawShowForPlayer(playerid, EmCima[playerid]);
TextDrawShowForPlayer(playerid, EmBaixo[playerid]);
No OnPlayerSpawn
pawn Код:
TextDrawHideForPlayer(playerid, EmCima[playerid]);
TextDrawHideForPlayer(playerid, EmBaixo[playerid]);
Espero que seja isto que vocк quer!
abraзos
Re: Quadrado Preto no inicio? -
EduardoRFS - 06.08.2012
Exato text draw eu sabia que era mais nun tinha certeza agora vou estudar o code para fazer.