Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

[Ajuda] TextDraw Clicável

$
0
0
Quando eu passo o mouse no logar, marca também no registro, e quando eu passo o mouse no sair, marca todos eles, PRINT:https://imgur.com/a/P8npE

TextDrawSetSelectable(Text:Entrada[12], 1);
TextDrawSetSelectable(Text:Entrada[13], 1);
TextDrawSetSelectable(Text:Entrada[14], 1);

Entrada[4] = TextDrawCreate(520.000000, 130.000000, "_");
TextDrawBackgroundColor(Entrada[4], 255);
TextDrawFont(Entrada[4], 1);
TextDrawLetterSize(Entrada[4], 0.000000, 22.000000);
TextDrawColor(Entrada[4], -1);
TextDrawSetOutline(Entrada[4], 0);
TextDrawSetProportional(Entrada[4], 1);
TextDrawSetShadow(Entrada[4], 1);
TextDrawUseBox(Entrada[4], 1);
TextDrawBoxColor(Entrada[4], 1364283903);
TextDrawTextSize(Entrada[4], 120.000000, 0.000000);


Entrada[1] = TextDrawCreate(520.000000, 150.000000, "_");
TextDrawBackgroundColor(Entrada[1], 255);
TextDrawFont(Entrada[1], 1);
TextDrawLetterSize(Entrada[1], 0.699999, 2.000000);
TextDrawColor(Entrada[1], -1);
TextDrawSetOutline(Entrada[1], 0);
TextDrawSetProportional(Entrada[1], 1);
TextDrawSetShadow(Entrada[1], 1);
TextDrawUseBox(Entrada[1], 1);
TextDrawBoxColor(Entrada[1], 28425727);
TextDrawTextSize(Entrada[1], 120.000000, 0.000000);

Entrada[2] = TextDrawCreate(390.000000, 190.000000, "_");
TextDrawBackgroundColor(Entrada[2], 255);
TextDrawFont(Entrada[2], 1);
TextDrawLetterSize(Entrada[2], 0.699999, 2.000000);
TextDrawColor(Entrada[2], -1);
TextDrawSetOutline(Entrada[2], 0);
TextDrawSetProportional(Entrada[2], 1);
TextDrawSetShadow(Entrada[2], 1);
TextDrawUseBox(Entrada[2], 1);
TextDrawBoxColor(Entrada[2], 28425727);
TextDrawTextSize(Entrada[2], 240.000000, 0.000000);

Entrada[3] = TextDrawCreate(520.000000, 212.000000, "_");
TextDrawBackgroundColor(Entrada[3], 255);
TextDrawFont(Entrada[3], 1);
TextDrawLetterSize(Entrada[3], 1.399999, 0.000000);
TextDrawColor(Entrada[3], -1);
TextDrawSetOutline(Entrada[3], 0);
TextDrawSetProportional(Entrada[3], 1);
TextDrawSetShadow(Entrada[3], 1);
TextDrawUseBox(Entrada[3], 1);
TextDrawBoxColor(Entrada[3], 28425727);
TextDrawTextSize(Entrada[3], 120.000000, 0.000000);

Entrada[6] = TextDrawCreate(267.000000, 130.000000, "EQUIPE LFC");
TextDrawBackgroundColor(Entrada[6], 255);
TextDrawFont(Entrada[6], 1);
TextDrawLetterSize(Entrada[6], 0.500000, 1.000000);
TextDrawColor(Entrada[6], -1);
TextDrawSetOutline(Entrada[6], 0);
TextDrawSetProportional(Entrada[6], 1);
TextDrawSetShadow(Entrada[6], 0);
TextDrawSetSelectable(Entrada[6], 0);

Entrada[10] = TextDrawCreate(130.000000, 250.000000, "FORUM:~n~TS3:~n~IP:");
TextDrawLetterSize(Entrada[10], 0.298399, 1.525333);
TextDrawAlignment(Entrada[10], 1);
TextDrawColor(Entrada[10], -1);
TextDrawSetShadow(Entrada[10], 0);
TextDrawSetOutline(Entrada[10], 0);
TextDrawBackgroundColor(Entrada[10], 255);
TextDrawFont(Entrada[10], 2);
TextDrawSetProportional(Entrada[10], 1);

Entrada[11] = TextDrawCreate(260.000000, 193.000000, "INFORMACOES");
TextDrawBackgroundColor(Entrada[11], 255);
TextDrawFont(Entrada[11], 2);
TextDrawLetterSize(Entrada[11], 0.400000, 1.999999);
TextDrawColor(Entrada[11], 1);
TextDrawSetOutline(Entrada[11], 0);
TextDrawSetProportional(Entrada[11], 1);
TextDrawSetShadow(Entrada[11], 0);
TextDrawSetSelectable(Entrada[11], 0);

Entrada[12] = TextDrawCreate(270.000000, 154.000000, "REGISTRAR");
TextDrawLetterSize(Entrada[12], 0.429999, 1.600000);
TextDrawColor(Entrada[12], -1);
TextDrawSetShadow(Entrada[12], 0);
TextDrawSetOutline(Entrada[12], 0);
TextDrawBackgroundColor(Entrada[12], -2139062017);
TextDrawFont(Entrada[12], 2);
TextDrawSetProportional(Entrada[12], -1);
TextDrawSetShadow(Entrada[12], 0);
TextDrawSetSelectable(Entrada[12], 1);

Entrada[13] = TextDrawCreate(130.000000, 154.000000, "LOGAR");
TextDrawLetterSize(Entrada[13], 0.519999, 1.500000);
TextDrawColor(Entrada[13], -1);
TextDrawSetShadow(Entrada[13], 0);
TextDrawSetOutline(Entrada[13], 0);
TextDrawBackgroundColor(Entrada[14], -2139062017);
TextDrawFont(Entrada[13], 2);
TextDrawSetProportional(Entrada[13], 1);
TextDrawSetShadow(Entrada[13], 0);
TextDrawSetSelectable(Entrada[13], 1);

Entrada[14] = TextDrawCreate(449.000000, 154.000000, "SAIR");
TextDrawLetterSize(Entrada[14], 0.429999, 1.600000);
TextDrawColor(Entrada[14], -1);
TextDrawSetShadow(Entrada[14], 1);
TextDrawSetOutline(Entrada[14], 0);
TextDrawBackgroundColor(Entrada[14], -2139062017);
TextDrawFont(Entrada[14], 2);
TextDrawSetProportional(Entrada[14], 1);
TextDrawSetShadow(Entrada[14], 0);
TextDrawSetSelectable(Entrada[14], 1);

Viewing all articles
Browse latest Browse all 18226

Trending Articles