[Ajuda] Textdraw Clikavel
#1

Criei uma tela de login no tde selecionei a opзгo pra ser clicavel й tals mais na hora de abrir o servido ai passo o mause por cima de uma opзгo ai fica vermelho de boa ai vo pra opзгo debaixo ai seleciona ela tambйm nг to entendendo print (https://imgur.com/a/Xjp0v)

Code do da tela de login
PHP код:
TextDrawSetSelectable(Text:TDEditor_TD[4], true);
    
TextDrawSetSelectable(Text:TDEditor_TD[5], true);
    
TextDrawSetSelectable(Text:TDEditor_TD[9], true);
    
TDEditor_TD[0] = TextDrawCreate(218.125000, 97.250022, "1");
    
TextDrawLetterSize(TDEditor_TD[0], -0.033750, 26.094175);
    
TextDrawTextSize(TDEditor_TD[0], 423.000000, 0.000000);
    
TextDrawAlignment(TDEditor_TD[0], 1);
    
TextDrawColor(TDEditor_TD[0], -1);
    
TextDrawUseBox(TDEditor_TD[0], 1);
    
TextDrawBoxColor(TDEditor_TD[0], 103);
    
TextDrawSetShadow(TDEditor_TD[0], 0);
    
TextDrawSetOutline(TDEditor_TD[0], 0);
    
TextDrawBackgroundColor(TDEditor_TD[0], 255);
    
TextDrawFont(TDEditor_TD[0], 1);
    
TextDrawSetProportional(TDEditor_TD[0], 1);
    
TextDrawSetShadow(TDEditor_TD[0], 0);
    
TDEditor_TD[1] = TextDrawCreate(218.125000, 97.249984, "1");
    
TextDrawLetterSize(TDEditor_TD[1], 0.040625, 2.154167);
    
TextDrawTextSize(TDEditor_TD[1], 423.000000, 0.000000);
    
TextDrawAlignment(TDEditor_TD[1], 1);
    
TextDrawColor(TDEditor_TD[1], -1);
    
TextDrawUseBox(TDEditor_TD[1], 1);
    
TextDrawBoxColor(TDEditor_TD[1], 11242239);
    
TextDrawSetShadow(TDEditor_TD[1], 0);
    
TextDrawSetOutline(TDEditor_TD[1], 0);
    
TextDrawBackgroundColor(TDEditor_TD[1], 255);
    
TextDrawFont(TDEditor_TD[1], 0);
    
TextDrawSetProportional(TDEditor_TD[1], 1);
    
TextDrawSetShadow(TDEditor_TD[1], 0);
    
TDEditor_TD[2] = TextDrawCreate(268.750000, 96.083305, "Gangs_Brasil");
    
TextDrawLetterSize(TDEditor_TD[2], 0.600000, 2.019999);
    
TextDrawAlignment(TDEditor_TD[2], 1);
    
TextDrawColor(TDEditor_TD[2], -1);
    
TextDrawSetShadow(TDEditor_TD[2], 0);
    
TextDrawSetOutline(TDEditor_TD[2], 0);
    
TextDrawBackgroundColor(TDEditor_TD[2], 255);
    
TextDrawFont(TDEditor_TD[2], 0);
    
TextDrawSetProportional(TDEditor_TD[2], 1);
    
TextDrawSetShadow(TDEditor_TD[2], 0);
    
TDEditor_TD[3] = TextDrawCreate(361.875000, 94.916656, "RJ__");
    
TextDrawLetterSize(TDEditor_TD[3], 0.198749, 1.075000);
    
TextDrawAlignment(TDEditor_TD[3], 1);
    
TextDrawColor(TDEditor_TD[3], -1);
    
TextDrawSetShadow(TDEditor_TD[3], 0);
    
TextDrawSetOutline(TDEditor_TD[3], 0);
    
TextDrawBackgroundColor(TDEditor_TD[3], 255);
    
TextDrawFont(TDEditor_TD[3], 1);
    
TextDrawSetProportional(TDEditor_TD[3], 1);
    
TextDrawSetShadow(TDEditor_TD[3], 0);
    
TDEditor_TD[4] = TextDrawCreate(278.595581, 212.166610, "ACESSAR~n~__CONTA");
    
TextDrawLetterSize(TDEditor_TD[4], 0.390000, 1.407500);
    
TextDrawAlignment(TDEditor_TD[4], 1);
    
TextDrawColor(TDEditor_TD[4], -1);
    
TextDrawSetShadow(TDEditor_TD[4], 0);
    
TextDrawSetOutline(TDEditor_TD[4], 0);
    
TextDrawBackgroundColor(TDEditor_TD[4], 255);
    
TextDrawFont(TDEditor_TD[4], 2);
    
TextDrawSetProportional(TDEditor_TD[4], 1);
    
TextDrawSetShadow(TDEditor_TD[4], 0);
    
TextDrawSetSelectable(TDEditor_TD[4], true);
    
TDEditor_TD[5] = TextDrawCreate(274.529418, 142.749969, "REGISTRAR_~n~____CONTA");
    
TextDrawLetterSize(TDEditor_TD[5], 0.370000, 1.594167);
    
TextDrawAlignment(TDEditor_TD[5], 1);
    
TextDrawColor(TDEditor_TD[5], -1);
    
TextDrawSetShadow(TDEditor_TD[5], 0);
    
TextDrawSetOutline(TDEditor_TD[5], 0);
    
TextDrawBackgroundColor(TDEditor_TD[5], 255);
    
TextDrawFont(TDEditor_TD[5], 2);
    
TextDrawSetProportional(TDEditor_TD[5], 1);
    
TextDrawSetShadow(TDEditor_TD[5], 0);
    
TextDrawSetSelectable(TDEditor_TD[5], true);
    
TDEditor_TD[6] = TextDrawCreate(245.625000, 184.750030, "-");
    
TextDrawLetterSize(TDEditor_TD[6], 10.203124, 0.538332);
    
TextDrawAlignment(TDEditor_TD[6], 1);
    
TextDrawColor(TDEditor_TD[6], -1);
    
TextDrawSetShadow(TDEditor_TD[6], 0);
    
TextDrawSetOutline(TDEditor_TD[6], 0);
    
TextDrawBackgroundColor(TDEditor_TD[6], 255);
    
TextDrawFont(TDEditor_TD[6], 1);
    
TextDrawSetProportional(TDEditor_TD[6], 1);
    
TextDrawSetShadow(TDEditor_TD[6], 0);
    
TDEditor_TD[7] = TextDrawCreate(246.250000, 262.333343, "-");
    
TextDrawLetterSize(TDEditor_TD[7], 10.203124, 0.538332);
    
TextDrawAlignment(TDEditor_TD[7], 1);
    
TextDrawColor(TDEditor_TD[7], -1);
    
TextDrawSetShadow(TDEditor_TD[7], 0);
    
TextDrawSetOutline(TDEditor_TD[7], 0);
    
TextDrawBackgroundColor(TDEditor_TD[7], 255);
    
TextDrawFont(TDEditor_TD[7], 1);
    
TextDrawSetProportional(TDEditor_TD[7], 1);
    
TextDrawSetShadow(TDEditor_TD[7], 0);
    
TDEditor_TD[8] = TextDrawCreate(246.875000, 120.583366, "-");
    
TextDrawLetterSize(TDEditor_TD[8], 10.203124, 0.538332);
    
TextDrawAlignment(TDEditor_TD[8], 1);
    
TextDrawColor(TDEditor_TD[8], -1);
    
TextDrawSetShadow(TDEditor_TD[8], 0);
    
TextDrawSetOutline(TDEditor_TD[8], 0);
    
TextDrawBackgroundColor(TDEditor_TD[8], 255);
    
TextDrawFont(TDEditor_TD[8], 1);
    
TextDrawSetProportional(TDEditor_TD[8], 1);
    
TextDrawSetShadow(TDEditor_TD[8], 0);
    
TDEditor_TD[9] = TextDrawCreate(240.625000, 291.500122, "X");
    
TextDrawLetterSize(TDEditor_TD[9], 0.400000, 1.600000);
    
TextDrawTextSize(TDEditor_TD[9], 251.000000, 0.000000);
    
TextDrawAlignment(TDEditor_TD[9], 1);
    
TextDrawColor(TDEditor_TD[9], -1);
    
TextDrawUseBox(TDEditor_TD[9], 1);
    
TextDrawBoxColor(TDEditor_TD[9], -16776961);
    
TextDrawSetShadow(TDEditor_TD[9], 0);
    
TextDrawSetOutline(TDEditor_TD[9], 0);
    
TextDrawBackgroundColor(TDEditor_TD[9], 255);
    
TextDrawFont(TDEditor_TD[9], 1);
    
TextDrawSetProportional(TDEditor_TD[9], 1);
    
TextDrawSetShadow(TDEditor_TD[9], 0);
    
TextDrawSetSelectable(TDEditor_TD[9], true);
    
TDEditor_TD[10] = TextDrawCreate(256.875000, 290.333343, "SAIR_DO_SERVIDOR");
    
TextDrawLetterSize(TDEditor_TD[10], 0.400000, 1.600000);
    
TextDrawAlignment(TDEditor_TD[10], 1);
    
TextDrawColor(TDEditor_TD[10], -1);
    
TextDrawSetShadow(TDEditor_TD[10], 0);
    
TextDrawSetOutline(TDEditor_TD[10], 0);
    
TextDrawBackgroundColor(TDEditor_TD[10], 255);
    
TextDrawFont(TDEditor_TD[10], 2);
    
TextDrawSetProportional(TDEditor_TD[10], 1);
    
TextDrawSetShadow(TDEditor_TD[10], 0);
    
TextDrawSetSelectable(TDEditor_TD[10], true); 
PHP код:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
        if(
clickedid == TDEditor_TD[5])
        {
            if(
Player[playerid][Registrado] == true)
                {
                    
GameTextForPlayer(playerid, "~r~VOCE JA TEM UMA CONTA EM NOSSO SERVIDOR", 3000, 3);
                }
            else
                {
                    new 
String[250];
                      
format(String, sizeof(String), "{FFFFFF}Seja bem vindo ao Servidor pela Primeira vez\n\n\
                      - Seu Nick: {CD0000}%s\n\n\
                    {FFFFFF}Digite uma senha e cliquem em {CD0000}Continuar!"
, getPName(playerid));
                    
ShowPlayerDialog(playerid, DIALOG_REGISTRO, DIALOG_STYLE_INPUT, "{FFFFFF}Registrando sua Conta", String, "Continuar", "Cancelar");
                    
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
                  }
              return 
1;
        }
        if(
clickedid == TDEditor_TD[4])
        {
            if(
Player[playerid][Registrado] == false)
                {
                    
GameTextForPlayer(playerid, "~r~VOCE AINDA NAO TEM UMA CONTA EM NOSSO SERVIDOR", 3000, 3);
                }
            else
                {
                    new 
String[250];
                     
format(String, sizeof(String), CONTAS, getPName(playerid));
                    if(
DOF2_FileExists(String))
                    
format(String, sizeof(String), "{FFFFFF}Seja bem vindo novamente ao Servidor \n\n\
                    - Seu Nick: {CD0000}%s \n\n\
                    {FFFFFF}Digite sua senha e cliquem em Continuar!"
, getPName(playerid));
                    
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "{FFFFFF}Acessando sua Conta", String, "Continuar", "Sair");
                      
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
                }
            return 
1;
        }
        if(
clickedid == TDEditor_TD[9])
        {
            
SCM(playerid, COR_LARANJA, " ");
            
SCM(playerid, COR_LARANJA, "VOLTE SEMPRE");
            
SCM(playerid, COR_LARANJA, "EQUIPE GANGS BRASIL - www.equipegb.net");
            
Kick(playerid);
        }
        return 
1;
} 
Reply
#2

Alguйm que entenda
Reply
#3

up, alguem ajuda ele
Reply
#4

Crie uma UseBox para cada um dos clicбveis invisнvel (cor 0x00000000) e ajuste o tamanho.

A parte clicбvel da TextDraw й a regiгo que abrange a Box da TextDraw.
Reply
#5

Eu desisto de textdraw por causa disso kkk ;=;
Reply
#6

Quote:
Originally Posted by JohnBlack
Посмотреть сообщение
Crie uma UseBox para cada um dos clicбveis invisнvel (cor 0x00000000) e ajuste o tamanho.

A parte clicбvel da TextDraw й a regiгo que abrange a Box da TextDraw.
Pode me explicar melhor que eu nгo entendi nd
Reply
#7

Quote:
Originally Posted by Dimbalada
Посмотреть сообщение
Pode me explicar melhor que eu nгo entendi nd
1. A бrea clicбvel de uma TextDraw й a бrea de sua Box. Toda TextDraw pode possuir uma Box com a opзгo UseBox do TDEditor.
2. Para solucionar isso, crie uma Box para as 2 TextDraws clicбveis na regiгo clicбvel de cada uma das TextDraws de cor invisнvel (Box Color > 0x00000000), para nгo "sujar" a interface.

Nгo sei se consigo ser mais claro que isso.
Reply
#8

Quote:
Originally Posted by JohnBlack
Посмотреть сообщение
1. A бrea clicбvel de uma TextDraw й a бrea de sua Box. Toda TextDraw pode possuir uma Box com a opзгo UseBox do TDEditor.
2. Para solucionar isso, crie uma Box para as 2 TextDraws clicбveis na regiгo clicбvel de cada uma das TextDraws de cor invisнvel (Box Color > 0x00000000), para nгo "sujar" a interface.

Nгo sei se consigo ser mais claro que isso.
Pode usa minha tela de login em TDE Й faze tipo uma base pra mim entender melhor?
Reply
#9

Quote:
Originally Posted by JohnBlack
Посмотреть сообщение
1. A бrea clicбvel de uma TextDraw й a бrea de sua Box. Toda TextDraw pode possuir uma Box com a opзгo UseBox do TDEditor.
2. Para solucionar isso, crie uma Box para as 2 TextDraws clicбveis na regiгo clicбvel de cada uma das TextDraws de cor invisнvel (Box Color > 0x00000000), para nгo "sujar" a interface.

Nгo sei se consigo ser mais claro que isso.
Entendi cria a box em cima do tipo REGISTRAR CONTA Й BOTA A BOX Invisivel ne fiz isso mais nгo funciono Tela de login abaixo

PHP код:
TextDrawSetSelectable(Text:TDEditor_TD[4], true);
    
TextDrawSetSelectable(Text:TDEditor_TD[5], true);
    
TextDrawSetSelectable(Text:TDEditor_TD[9], true);
    
TDEditor_TD[0] = TextDrawCreate(218.125000, 97.250022, "1");
    
TextDrawLetterSize(TDEditor_TD[0], -0.033750, 26.094175);
    
TextDrawTextSize(TDEditor_TD[0], 423.000000, 0.000000);
    
TextDrawAlignment(TDEditor_TD[0], 1);
    
TextDrawColor(TDEditor_TD[0], -1);
    
TextDrawUseBox(TDEditor_TD[0], 1);
    
TextDrawBoxColor(TDEditor_TD[0], 103);
    
TextDrawSetShadow(TDEditor_TD[0], 0);
    
TextDrawSetOutline(TDEditor_TD[0], 0);
    
TextDrawBackgroundColor(TDEditor_TD[0], 255);
    
TextDrawFont(TDEditor_TD[0], 1);
    
TextDrawSetProportional(TDEditor_TD[0], 1);
    
TextDrawSetShadow(TDEditor_TD[0], 0);
    
TDEditor_TD[1] = TextDrawCreate(218.125000, 97.249984, "1");
    
TextDrawLetterSize(TDEditor_TD[1], 0.040624, 2.154166);
    
TextDrawTextSize(TDEditor_TD[1], 423.000000, 0.000000);
    
TextDrawAlignment(TDEditor_TD[1], 1);
    
TextDrawColor(TDEditor_TD[1], -1);
    
TextDrawUseBox(TDEditor_TD[1], 1);
    
TextDrawBoxColor(TDEditor_TD[1], 11242239);
    
TextDrawSetShadow(TDEditor_TD[1], 0);
    
TextDrawSetOutline(TDEditor_TD[1], 0);
    
TextDrawBackgroundColor(TDEditor_TD[1], 255);
    
TextDrawFont(TDEditor_TD[1], 0);
    
TextDrawSetProportional(TDEditor_TD[1], 1);
    
TextDrawSetShadow(TDEditor_TD[1], 0);
    
TDEditor_TD[2] = TextDrawCreate(268.750000, 96.083305, "Gangs_Brasil");
    
TextDrawLetterSize(TDEditor_TD[2], 0.600000, 2.019999);
    
TextDrawAlignment(TDEditor_TD[2], 1);
    
TextDrawColor(TDEditor_TD[2], -1);
    
TextDrawSetShadow(TDEditor_TD[2], 0);
    
TextDrawSetOutline(TDEditor_TD[2], 0);
    
TextDrawBackgroundColor(TDEditor_TD[2], 255);
    
TextDrawFont(TDEditor_TD[2], 0);
    
TextDrawSetProportional(TDEditor_TD[2], 1);
    
TextDrawSetShadow(TDEditor_TD[2], 0);
    
TDEditor_TD[3] = TextDrawCreate(361.875000, 94.916656, "RJ__");
    
TextDrawLetterSize(TDEditor_TD[3], 0.198749, 1.075000);
    
TextDrawAlignment(TDEditor_TD[3], 1);
    
TextDrawColor(TDEditor_TD[3], -1);
    
TextDrawSetShadow(TDEditor_TD[3], 0);
    
TextDrawSetOutline(TDEditor_TD[3], 0);
    
TextDrawBackgroundColor(TDEditor_TD[3], 255);
    
TextDrawFont(TDEditor_TD[3], 1);
    
TextDrawSetProportional(TDEditor_TD[3], 1);
    
TextDrawSetShadow(TDEditor_TD[3], 0);
    
TDEditor_TD[4] = TextDrawCreate(278.595581, 212.166610, "ACESSAR~n~__CONTA");
    
TextDrawLetterSize(TDEditor_TD[4], 0.389999, 1.407500);
    
TextDrawTextSize(TDEditor_TD[4], 353.000000, 0.000000);
    
TextDrawAlignment(TDEditor_TD[4], 1);
    
TextDrawColor(TDEditor_TD[4], -1);
    
TextDrawUseBox(TDEditor_TD[4], 1);
    
TextDrawBoxColor(TDEditor_TD[4], 0);
    
TextDrawSetShadow(TDEditor_TD[4], 0);
    
TextDrawSetOutline(TDEditor_TD[4], 0);
    
TextDrawBackgroundColor(TDEditor_TD[4], 255);
    
TextDrawFont(TDEditor_TD[4], 2);
    
TextDrawSetProportional(TDEditor_TD[4], 1);
    
TextDrawSetShadow(TDEditor_TD[4], 0);
    
TextDrawSetSelectable(TDEditor_TD[4], true);
    
TDEditor_TD[5] = TextDrawCreate(274.529418, 142.749969, "REGISTRAR_~n~____CONTA");
    
TextDrawLetterSize(TDEditor_TD[5], 0.370000, 1.594166);
    
TextDrawTextSize(TDEditor_TD[5], 356.000000, 0.000000);
    
TextDrawAlignment(TDEditor_TD[5], 1);
    
TextDrawColor(TDEditor_TD[5], -1);
    
TextDrawUseBox(TDEditor_TD[5], 1);
    
TextDrawBoxColor(TDEditor_TD[5], 0);
    
TextDrawSetShadow(TDEditor_TD[5], 0);
    
TextDrawSetOutline(TDEditor_TD[5], 0);
    
TextDrawBackgroundColor(TDEditor_TD[5], 255);
    
TextDrawFont(TDEditor_TD[5], 2);
    
TextDrawSetProportional(TDEditor_TD[5], 1);
    
TextDrawSetShadow(TDEditor_TD[5], 0);
    
TextDrawSetSelectable(TDEditor_TD[5], true);
    
TDEditor_TD[6] = TextDrawCreate(245.625000, 184.750030, "-");
    
TextDrawLetterSize(TDEditor_TD[6], 10.203124, 0.538331);
    
TextDrawAlignment(TDEditor_TD[6], 1);
    
TextDrawColor(TDEditor_TD[6], -1);
    
TextDrawSetShadow(TDEditor_TD[6], 0);
    
TextDrawSetOutline(TDEditor_TD[6], 0);
    
TextDrawBackgroundColor(TDEditor_TD[6], 255);
    
TextDrawFont(TDEditor_TD[6], 1);
    
TextDrawSetProportional(TDEditor_TD[6], 1);
    
TextDrawSetShadow(TDEditor_TD[6], 0);
    
TDEditor_TD[7] = TextDrawCreate(246.250000, 262.333343, "-");
    
TextDrawLetterSize(TDEditor_TD[7], 10.203124, 0.538331);
    
TextDrawAlignment(TDEditor_TD[7], 1);
    
TextDrawColor(TDEditor_TD[7], -1);
    
TextDrawSetShadow(TDEditor_TD[7], 0);
    
TextDrawSetOutline(TDEditor_TD[7], 0);
    
TextDrawBackgroundColor(TDEditor_TD[7], 255);
    
TextDrawFont(TDEditor_TD[7], 1);
    
TextDrawSetProportional(TDEditor_TD[7], 1);
    
TextDrawSetShadow(TDEditor_TD[7], 0);
    
TDEditor_TD[8] = TextDrawCreate(246.875000, 120.583366, "-");
    
TextDrawLetterSize(TDEditor_TD[8], 10.203124, 0.538331);
    
TextDrawAlignment(TDEditor_TD[8], 1);
    
TextDrawColor(TDEditor_TD[8], -1);
    
TextDrawSetShadow(TDEditor_TD[8], 0);
    
TextDrawSetOutline(TDEditor_TD[8], 0);
    
TextDrawBackgroundColor(TDEditor_TD[8], 255);
    
TextDrawFont(TDEditor_TD[8], 1);
    
TextDrawSetProportional(TDEditor_TD[8], 1);
    
TextDrawSetShadow(TDEditor_TD[8], 0);
    
TDEditor_TD[9] = TextDrawCreate(240.625000, 291.500122, "X");
    
TextDrawLetterSize(TDEditor_TD[9], 0.400000, 1.600000);
    
TextDrawTextSize(TDEditor_TD[9], 251.000000, 0.000000);
    
TextDrawAlignment(TDEditor_TD[9], 1);
    
TextDrawColor(TDEditor_TD[9], -1);
    
TextDrawUseBox(TDEditor_TD[9], 1);
    
TextDrawBoxColor(TDEditor_TD[9], -16776961);
    
TextDrawSetShadow(TDEditor_TD[9], 0);
    
TextDrawSetOutline(TDEditor_TD[9], 0);
    
TextDrawBackgroundColor(TDEditor_TD[9], 255);
    
TextDrawFont(TDEditor_TD[9], 1);
    
TextDrawSetProportional(TDEditor_TD[9], 1);
    
TextDrawSetShadow(TDEditor_TD[9], 0);
    
TextDrawSetSelectable(TDEditor_TD[9], true);
    
TDEditor_TD[10] = TextDrawCreate(256.875000, 290.333343, "SAIR_DO_SERVIDOR");
    
TextDrawLetterSize(TDEditor_TD[10], 0.400000, 1.600000);
    
TextDrawTextSize(TDEditor_TD[10], 407.000000, 0.000000);
    
TextDrawAlignment(TDEditor_TD[10], 1);
    
TextDrawColor(TDEditor_TD[10], -1);
    
TextDrawUseBox(TDEditor_TD[10], 1);
    
TextDrawBoxColor(TDEditor_TD[10], 0);
    
TextDrawSetShadow(TDEditor_TD[10], 0);
    
TextDrawSetOutline(TDEditor_TD[10], 0);
    
TextDrawBackgroundColor(TDEditor_TD[10], 255);
    
TextDrawFont(TDEditor_TD[10], 2);
    
TextDrawSetProportional(TDEditor_TD[10], 1);
    
TextDrawSetShadow(TDEditor_TD[10], 0);
    
TextDrawSetSelectable(TDEditor_TD[10], true); 
Antes marcava todas opзхes agora nгo marca й nenhuma kk
Reply
#10

Quote:
Originally Posted by Dimbalada
Посмотреть сообщение
Entendi cria a box em cima do tipo REGISTRAR CONTA Й BOTA A BOX Invisivel ne fiz isso mais nгo funciono Tela de login abaixo

PHP код:
TextDrawSetSelectable(Text:TDEditor_TD[4], true);
    
TextDrawSetSelectable(Text:TDEditor_TD[5], true);
    
TextDrawSetSelectable(Text:TDEditor_TD[9], true);
    
TDEditor_TD[0] = TextDrawCreate(218.125000, 97.250022, "1");
    
TextDrawLetterSize(TDEditor_TD[0], -0.033750, 26.094175);
    
TextDrawTextSize(TDEditor_TD[0], 423.000000, 0.000000);
    
TextDrawAlignment(TDEditor_TD[0], 1);
    
TextDrawColor(TDEditor_TD[0], -1);
    
TextDrawUseBox(TDEditor_TD[0], 1);
    
TextDrawBoxColor(TDEditor_TD[0], 103);
    
TextDrawSetShadow(TDEditor_TD[0], 0);
    
TextDrawSetOutline(TDEditor_TD[0], 0);
    
TextDrawBackgroundColor(TDEditor_TD[0], 255);
    
TextDrawFont(TDEditor_TD[0], 1);
    
TextDrawSetProportional(TDEditor_TD[0], 1);
    
TextDrawSetShadow(TDEditor_TD[0], 0);
    
TDEditor_TD[1] = TextDrawCreate(218.125000, 97.249984, "1");
    
TextDrawLetterSize(TDEditor_TD[1], 0.040624, 2.154166);
    
TextDrawTextSize(TDEditor_TD[1], 423.000000, 0.000000);
    
TextDrawAlignment(TDEditor_TD[1], 1);
    
TextDrawColor(TDEditor_TD[1], -1);
    
TextDrawUseBox(TDEditor_TD[1], 1);
    
TextDrawBoxColor(TDEditor_TD[1], 11242239);
    
TextDrawSetShadow(TDEditor_TD[1], 0);
    
TextDrawSetOutline(TDEditor_TD[1], 0);
    
TextDrawBackgroundColor(TDEditor_TD[1], 255);
    
TextDrawFont(TDEditor_TD[1], 0);
    
TextDrawSetProportional(TDEditor_TD[1], 1);
    
TextDrawSetShadow(TDEditor_TD[1], 0);
    
TDEditor_TD[2] = TextDrawCreate(268.750000, 96.083305, "Gangs_Brasil");
    
TextDrawLetterSize(TDEditor_TD[2], 0.600000, 2.019999);
    
TextDrawAlignment(TDEditor_TD[2], 1);
    
TextDrawColor(TDEditor_TD[2], -1);
    
TextDrawSetShadow(TDEditor_TD[2], 0);
    
TextDrawSetOutline(TDEditor_TD[2], 0);
    
TextDrawBackgroundColor(TDEditor_TD[2], 255);
    
TextDrawFont(TDEditor_TD[2], 0);
    
TextDrawSetProportional(TDEditor_TD[2], 1);
    
TextDrawSetShadow(TDEditor_TD[2], 0);
    
TDEditor_TD[3] = TextDrawCreate(361.875000, 94.916656, "RJ__");
    
TextDrawLetterSize(TDEditor_TD[3], 0.198749, 1.075000);
    
TextDrawAlignment(TDEditor_TD[3], 1);
    
TextDrawColor(TDEditor_TD[3], -1);
    
TextDrawSetShadow(TDEditor_TD[3], 0);
    
TextDrawSetOutline(TDEditor_TD[3], 0);
    
TextDrawBackgroundColor(TDEditor_TD[3], 255);
    
TextDrawFont(TDEditor_TD[3], 1);
    
TextDrawSetProportional(TDEditor_TD[3], 1);
    
TextDrawSetShadow(TDEditor_TD[3], 0);
    
TDEditor_TD[4] = TextDrawCreate(278.595581, 212.166610, "ACESSAR~n~__CONTA");
    
TextDrawLetterSize(TDEditor_TD[4], 0.389999, 1.407500);
    
TextDrawTextSize(TDEditor_TD[4], 353.000000, 0.000000);
    
TextDrawAlignment(TDEditor_TD[4], 1);
    
TextDrawColor(TDEditor_TD[4], -1);
    
TextDrawUseBox(TDEditor_TD[4], 1);
    
TextDrawBoxColor(TDEditor_TD[4], 0);
    
TextDrawSetShadow(TDEditor_TD[4], 0);
    
TextDrawSetOutline(TDEditor_TD[4], 0);
    
TextDrawBackgroundColor(TDEditor_TD[4], 255);
    
TextDrawFont(TDEditor_TD[4], 2);
    
TextDrawSetProportional(TDEditor_TD[4], 1);
    
TextDrawSetShadow(TDEditor_TD[4], 0);
    
TextDrawSetSelectable(TDEditor_TD[4], true);
    
TDEditor_TD[5] = TextDrawCreate(274.529418, 142.749969, "REGISTRAR_~n~____CONTA");
    
TextDrawLetterSize(TDEditor_TD[5], 0.370000, 1.594166);
    
TextDrawTextSize(TDEditor_TD[5], 356.000000, 0.000000);
    
TextDrawAlignment(TDEditor_TD[5], 1);
    
TextDrawColor(TDEditor_TD[5], -1);
    
TextDrawUseBox(TDEditor_TD[5], 1);
    
TextDrawBoxColor(TDEditor_TD[5], 0);
    
TextDrawSetShadow(TDEditor_TD[5], 0);
    
TextDrawSetOutline(TDEditor_TD[5], 0);
    
TextDrawBackgroundColor(TDEditor_TD[5], 255);
    
TextDrawFont(TDEditor_TD[5], 2);
    
TextDrawSetProportional(TDEditor_TD[5], 1);
    
TextDrawSetShadow(TDEditor_TD[5], 0);
    
TextDrawSetSelectable(TDEditor_TD[5], true);
    
TDEditor_TD[6] = TextDrawCreate(245.625000, 184.750030, "-");
    
TextDrawLetterSize(TDEditor_TD[6], 10.203124, 0.538331);
    
TextDrawAlignment(TDEditor_TD[6], 1);
    
TextDrawColor(TDEditor_TD[6], -1);
    
TextDrawSetShadow(TDEditor_TD[6], 0);
    
TextDrawSetOutline(TDEditor_TD[6], 0);
    
TextDrawBackgroundColor(TDEditor_TD[6], 255);
    
TextDrawFont(TDEditor_TD[6], 1);
    
TextDrawSetProportional(TDEditor_TD[6], 1);
    
TextDrawSetShadow(TDEditor_TD[6], 0);
    
TDEditor_TD[7] = TextDrawCreate(246.250000, 262.333343, "-");
    
TextDrawLetterSize(TDEditor_TD[7], 10.203124, 0.538331);
    
TextDrawAlignment(TDEditor_TD[7], 1);
    
TextDrawColor(TDEditor_TD[7], -1);
    
TextDrawSetShadow(TDEditor_TD[7], 0);
    
TextDrawSetOutline(TDEditor_TD[7], 0);
    
TextDrawBackgroundColor(TDEditor_TD[7], 255);
    
TextDrawFont(TDEditor_TD[7], 1);
    
TextDrawSetProportional(TDEditor_TD[7], 1);
    
TextDrawSetShadow(TDEditor_TD[7], 0);
    
TDEditor_TD[8] = TextDrawCreate(246.875000, 120.583366, "-");
    
TextDrawLetterSize(TDEditor_TD[8], 10.203124, 0.538331);
    
TextDrawAlignment(TDEditor_TD[8], 1);
    
TextDrawColor(TDEditor_TD[8], -1);
    
TextDrawSetShadow(TDEditor_TD[8], 0);
    
TextDrawSetOutline(TDEditor_TD[8], 0);
    
TextDrawBackgroundColor(TDEditor_TD[8], 255);
    
TextDrawFont(TDEditor_TD[8], 1);
    
TextDrawSetProportional(TDEditor_TD[8], 1);
    
TextDrawSetShadow(TDEditor_TD[8], 0);
    
TDEditor_TD[9] = TextDrawCreate(240.625000, 291.500122, "X");
    
TextDrawLetterSize(TDEditor_TD[9], 0.400000, 1.600000);
    
TextDrawTextSize(TDEditor_TD[9], 251.000000, 0.000000);
    
TextDrawAlignment(TDEditor_TD[9], 1);
    
TextDrawColor(TDEditor_TD[9], -1);
    
TextDrawUseBox(TDEditor_TD[9], 1);
    
TextDrawBoxColor(TDEditor_TD[9], -16776961);
    
TextDrawSetShadow(TDEditor_TD[9], 0);
    
TextDrawSetOutline(TDEditor_TD[9], 0);
    
TextDrawBackgroundColor(TDEditor_TD[9], 255);
    
TextDrawFont(TDEditor_TD[9], 1);
    
TextDrawSetProportional(TDEditor_TD[9], 1);
    
TextDrawSetShadow(TDEditor_TD[9], 0);
    
TextDrawSetSelectable(TDEditor_TD[9], true);
    
TDEditor_TD[10] = TextDrawCreate(256.875000, 290.333343, "SAIR_DO_SERVIDOR");
    
TextDrawLetterSize(TDEditor_TD[10], 0.400000, 1.600000);
    
TextDrawTextSize(TDEditor_TD[10], 407.000000, 0.000000);
    
TextDrawAlignment(TDEditor_TD[10], 1);
    
TextDrawColor(TDEditor_TD[10], -1);
    
TextDrawUseBox(TDEditor_TD[10], 1);
    
TextDrawBoxColor(TDEditor_TD[10], 0);
    
TextDrawSetShadow(TDEditor_TD[10], 0);
    
TextDrawSetOutline(TDEditor_TD[10], 0);
    
TextDrawBackgroundColor(TDEditor_TD[10], 255);
    
TextDrawFont(TDEditor_TD[10], 2);
    
TextDrawSetProportional(TDEditor_TD[10], 1);
    
TextDrawSetShadow(TDEditor_TD[10], 0);
    
TextDrawSetSelectable(TDEditor_TD[10], true); 
Antes marcava todas opзхes agora nгo marca й nenhuma kk
A sua Box da TextDraw estб como uma linha unidimensional, sem cobrir uma бrea.

Код:
TextDrawTextSize(TDEditor_TD[0], 423.000000, 0.000000);
TextDrawTextSize(TDEditor_TD[1], 423.000000, 0.000000);
Onde estб '0.000000' vocк deve colocar um nъmero maior, como o RodrigoMSR exemplarmente disse, 20.000000 (nгo obrigatoriamente, apenas deixe a бrea que lhe convier).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)