[Ajuda] Quadrado Preto no inicio?
#1

Como faz aqueles quadrados pretos um embaixo outro em cima no inicio do server na parte do login?
Reply
#2

Tem uma imagem para mostrar? Provavelmente й TextDraw, ou ShowPlayerDialog.
Reply
#3

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.
Reply
#4

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.
Reply
#5

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
Reply
#6

Ah й eu nen tinha lindo direito
Reply
#7

O ViniBorn tinha ajudado um membro com a mesma duvida, se eu achar o tуpico posto aqui pra voce.
Reply
#8

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
Reply
#9

Exato text draw eu sabia que era mais nun tinha certeza agora vou estudar o code para fazer.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)