[Ajuda] Tela de Login
#1

Boa noite , preciso de uma ajudinha aqui gostava de tirar isso mas nгo sei como fazer alguem me ajuda ?

Codigo:
#if defined IntroTextUser
stock LoadPlayerIntroText(playerid)
{
TEXTRAND[playerid] = random(sizeof IMAGESTEXT);
Intro[playerid][0] = CreatePlayerTextDraw(playerid, IMAGESTEXT[TEXTRAND[playerid]][textX], IMAGESTEXT[TEXTRAND[playerid]][textY], IMAGESTEXT[TEXTRAND[playerid]][loadimage]);
PlayerTextDrawBackgroundColor(playerid, Intro[playerid][0], 255);
PlayerTextDrawFont(playerid, Intro[playerid][0], 4);
PlayerTextDrawLetterSize(playerid, Intro[playerid][0], 0.500000, 1.000000);
PlayerTextDrawColor(playerid, Intro[playerid][0], -1);
PlayerTextDrawSetOutline(playerid, Intro[playerid][0], 0);
PlayerTextDrawSetProportional(playerid, Intro[playerid][0], 1);
PlayerTextDrawSetShadow(playerid, Intro[playerid][0], 1);
PlayerTextDrawUseBox(playerid, Intro[playerid][0], 1);
PlayerTextDrawBoxColor(playerid, Intro[playerid][0], 255);
PlayerTextDrawTextSize(playerid, Intro[playerid][0], 645.000000, 450.000000);

Intro[playerid][1] = CreatePlayerTextDraw(playerid, 170.000000, 190.000000, "Aguarde....");
PlayerTextDrawFont(playerid, Intro[playerid][1], 2);
PlayerTextDrawLetterSize(playerid, Intro[playerid][1], 0.570000, 1.799999);

Intro[playerid][2] = CreatePlayerTextDraw(playerid, 300.000000, 190.000000, ".");
PlayerTextDrawFont(playerid, Intro[playerid][2], 2);
PlayerTextDrawColor(playerid, Intro[playerid][2], 0xFFFFFF22);
PlayerTextDrawLetterSize(playerid, Intro[playerid][2], 0.570000, 1.799999);

Intro[playerid][3] = CreatePlayerTextDraw(playerid, 300.000000, 190.000000, "..");
PlayerTextDrawFont(playerid, Intro[playerid][3], 2);
PlayerTextDrawColor(playerid, Intro[playerid][3], 0xFFFFFF44);
PlayerTextDrawLetterSize(playerid, Intro[playerid][3], 0.570000, 1.799999);

Intro[playerid][4] = CreatePlayerTextDraw(playerid, 300.000000, 190.000000, "...");
PlayerTextDrawFont(playerid, Intro[playerid][4], 2);
PlayerTextDrawColor(playerid, Intro[playerid][4], 0xFFFFFF66);
PlayerTextDrawLetterSize(playerid, Intro[playerid][4], 0.570000, 1.799999);

Intro[playerid][5] = CreatePlayerTextDraw(playerid, 300.000000, 190.000000, "....");
PlayerTextDrawFont(playerid, Intro[playerid][5], 2);
PlayerTextDrawColor(playerid, Intro[playerid][5], 0xFFFFFF8;
PlayerTextDrawLetterSize(playerid, Intro[playerid][5], 0.570000, 1.799999);

Intro[playerid][6] = CreatePlayerTextDraw(playerid, 300.000000, 190.000000, ".....");
PlayerTextDrawFont(playerid, Intro[playerid][6], 2);
PlayerTextDrawColor(playerid, Intro[playerid][6], 0xFFFFFFAA);
PlayerTextDrawLetterSize(playerid, Intro[playerid][6], 0.570000, 1.799999);

Intro[playerid][7] = CreatePlayerTextDraw(playerid, 300.000000, 190.000000, "......");
PlayerTextDrawFont(playerid, Intro[playerid][7], 2);
PlayerTextDrawColor(playerid, Intro[playerid][7], 0xFFFFFFCC);
PlayerTextDrawLetterSize(playerid, Intro[playerid][7], 0.570000, 1.799999);

Intro[playerid][8] = CreatePlayerTextDraw(playerid, 300.000000, 190.000000, ".......");
PlayerTextDrawFont(playerid, Intro[playerid][8], 2);
PlayerTextDrawColor(playerid, Intro[playerid][8], 0xFFFFFFFF);
PlayerTextDrawLetterSize(playerid, Intro[playerid][8], 0.570000, 1.799999);

Intro[playerid][9] = CreatePlayerTextDraw(playerid, 190.0, 202.0, ".");
PlayerTextDrawFont(playerid, Intro[playerid][9], 1);
PlayerTextDrawLetterSize(playerid, Intro[playerid][9], 23.250051, 1.099999);

Intro[playerid][10] = CreatePlayerTextDraw(playerid, 300.00, 223.0, "~r~Unyk Life City [ULF]");
PlayerTextDrawFont(playerid, Intro[playerid][10], 2);
PlayerTextDrawLetterSize(playerid, Intro[playerid][10], 0.340000, 1.099999);

Intro[playerid][11] = CreatePlayerTextDraw(playerid, 330.0, 235.0, "~g~Bem vindo / Divirta-se");
PlayerTextDrawFont(playerid, Intro[playerid][11], 2);
PlayerTextDrawLetterSize(playerid, Intro[playerid][11], 0.340000, 1.099999);
return 1;
}
#endif


Queria remover as imagens e ter um login instвntaneo ou seja ao entrar no server e aparecer logo a tela de login
Alguem me ajuda?

PS: sou novato no forum samp espera que seja a area correta e o tipo de post correto Obrigado.
Reply
#2

Achoque nгo tem como rsrs
Reply
#3

Pois :S , jб vi um gamemode com o mesmo cуdigo igual ao meu e a ъnica diferenзa й que esse gamemode entra logo na tela de login :SSS
Reply
#4

Seria perfeito
Reply
#5

й irmгo nгo tem como tirar isso ai, a nao ser que vc apague o arquivo com o formato .pwn na pasta "gamemodes"
Reply
#6

Num outro gamemode tem os mesmo cуdigos que o meu mas a diferenзa й que o outro entra logo na tela de login , ja percorri as linhas de cуdigo e nгo consegui achar a diferenзa
Reply
#7

Retire os textdraws do carregamento deixe somente do login.
Reply
#8

Ou seja apagar o cуdigo e sу deixar ?
#if defined IntroTextUser
stock LoadPlayerIntroText(playerid)
{
Reply
#9

Se apagar tudo incluindo a stock e a if defined iria dar erro. Pois ja tentei
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)