03.01.2019, 11:11
Ola! recentemente baixei a gm MSA da internet. Porem eu removi a tela de login dela,pois tenho uma fs onde ja possui uma tela de login. O problema eh que quando removi a tela de login,ele nao mostrou a minha tela,apenas fica nessa tela: https://imgur.com/a/mDFLGLV
Quando eu ligo as duas juntas a tela do prуprio servidor e minha fs,ele faz login no servidor e logo em seguida mostra a minha tela e eu gostaria que aparecesse apenas a minha tela de login.
gm msa tela:
gostaria de remover essa textdrawn e aparecesse a minha fs onde possui uma tela de login. porem quando removo essa tela,aparecesse simplesmente nada,como na print acima.
Quando eu ligo as duas juntas a tela do prуprio servidor e minha fs,ele faz login no servidor e logo em seguida mostra a minha tela e eu gostaria que aparecesse apenas a minha tela de login.
gm msa tela:
PHP код:
forward MostrarLoginAndRegistro(playerid);
public MostrarLoginAndRegistro(playerid)
{
GameTextForPlayer(playerid, "___", 1000, 3);
new cameras = random(6);
switch(cameras)
{
case 0:
{
InterpolateCameraPos(playerid, 1659.967773, -2033.977050, 114.032539, 1135.730957, -2037.127075, 72.670089, 16000);
InterpolateCameraLookAt(playerid, 1655.063720, -2033.958374, 113.058158, 1130.767089, -2037.001953, 72.082855, 16000);
}
case 1:
{
InterpolateCameraPos(playerid, 2421.358886, -1913.913940, 146.060165, 1440.372314, -948.492980, 91.525047, 16000);
InterpolateCameraLookAt(playerid, 2418.880126, -1909.575683, 145.872589, 1439.539184, -943.582214, 91.088485, 16000);
}
case 2:
{
InterpolateCameraPos(playerid, 341.452056, -885.602783, 125.134780, 2298.640380, -1265.082519, 62.921581, 16000);
InterpolateCameraLookAt(playerid, 345.813354, -888.017761, 124.751502, 2297.206542, -1260.372070, 62.052291, 16000);
}
case 3:
{
InterpolateCameraPos(playerid, 314.303131, -1381.531860, 76.257392, 1310.936767, -1281.293701, 32.765281, 16000);
InterpolateCameraLookAt(playerid, 319.224151, -1380.911132, 75.626266, 1315.668701, -1281.267333, 31.150241, 16000);
}
case 4:
{
InterpolateCameraPos(playerid, -2039.425903, 138.526473, 66.198432, -1193.369873, 1044.919067, 100.876213, 16000);
InterpolateCameraLookAt(playerid, -2036.099609, 142.258758, 66.276123, -1196.788330, 1041.272460, 100.748977, 16000);
}
case 5:
{
InterpolateCameraPos(playerid, -2723.561523, -289.622131, 156.303756, -2678.777587, 1387.122802, 159.650634, 16000);
InterpolateCameraLookAt(playerid, -2723.376953, -284.627075, 156.427978, -2678.762207, 1392.122680, 159.623397, 16000);
}
}
Tela[0][playerid] = CreatePlayerTextDraw(playerid, 216.588195, -94.166633, "usebox");
PlayerTextDrawLetterSize(playerid, Tela[0][playerid], 0.000000, 64.408065);
PlayerTextDrawTextSize(playerid, Tela[0][playerid], -6.705884, 0.000000);
PlayerTextDrawAlignment(playerid, Tela[0][playerid], 1);
PlayerTextDrawColor(playerid, Tela[0][playerid], 0);
PlayerTextDrawUseBox(playerid, Tela[0][playerid], true);
PlayerTextDrawBoxColor(playerid, Tela[0][playerid], 50);
PlayerTextDrawSetShadow(playerid, Tela[0][playerid], 0);
PlayerTextDrawSetOutline(playerid, Tela[0][playerid], 0);
PlayerTextDrawFont(playerid, Tela[0][playerid], 0);
Tela[1][playerid] = CreatePlayerTextDraw(playerid, 103.999977, 74.083305, "~G~BRA~Y~SIL~N~~Y~~H~MATA-MATA~N~~R~SAN ANDREAS!");
PlayerTextDrawLetterSize(playerid, Tela[1][playerid], 0.427881, 2.078331);
PlayerTextDrawAlignment(playerid, Tela[1][playerid], 2);
PlayerTextDrawColor(playerid, Tela[1][playerid], -1);
PlayerTextDrawSetShadow(playerid, Tela[1][playerid], 0);
PlayerTextDrawSetOutline(playerid, Tela[1][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Tela[1][playerid], 51);
PlayerTextDrawFont(playerid, Tela[1][playerid], 3);
PlayerTextDrawSetProportional(playerid, Tela[1][playerid], 1);
Tela[2][playerid] = CreatePlayerTextDraw(playerid, 15.529458, 204.749847, " ~>~ Logar");
PlayerTextDrawLetterSize(playerid, Tela[2][playerid], 0.351645, 1.553333);
PlayerTextDrawTextSize(playerid, Tela[2][playerid], 193.412063, 13);
PlayerTextDrawAlignment(playerid, Tela[2][playerid], 1);
PlayerTextDrawColor(playerid, Tela[2][playerid], -1);
PlayerTextDrawUseBox(playerid, Tela[2][playerid], true);
PlayerTextDrawBoxColor(playerid, Tela[2][playerid], 50);
PlayerTextDrawSetShadow(playerid, Tela[2][playerid], 0);
PlayerTextDrawSetOutline(playerid, Tela[2][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Tela[2][playerid], 35);
PlayerTextDrawFont(playerid, Tela[2][playerid], 2);
PlayerTextDrawSetProportional(playerid, Tela[2][playerid], 1);
PlayerTextDrawSetSelectable(playerid, Tela[2][playerid], true);
Tela[3][playerid] = CreatePlayerTextDraw(playerid, 15.588280, 229.083129, " ~>~ Registrar");
PlayerTextDrawLetterSize(playerid, Tela[3][playerid], 0.351645, 1.553333);
PlayerTextDrawTextSize(playerid, Tela[3][playerid], 193.412063, 13);
PlayerTextDrawAlignment(playerid, Tela[3][playerid], 1);
PlayerTextDrawColor(playerid, Tela[3][playerid], -1);
PlayerTextDrawUseBox(playerid, Tela[3][playerid], true);
PlayerTextDrawBoxColor(playerid, Tela[3][playerid], 50);
PlayerTextDrawSetShadow(playerid, Tela[3][playerid], 0);
PlayerTextDrawSetOutline(playerid, Tela[3][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Tela[3][playerid], 35);
PlayerTextDrawFont(playerid, Tela[3][playerid], 2);
PlayerTextDrawSetProportional(playerid, Tela[3][playerid], 1);
PlayerTextDrawSetSelectable(playerid, Tela[3][playerid], true);
Tela[4][playerid] = CreatePlayerTextDraw(playerid, 15.588280, 256.499877, " ~>~ Regras");
PlayerTextDrawLetterSize(playerid, Tela[4][playerid], 0.351645, 1.553333);
PlayerTextDrawTextSize(playerid, Tela[4][playerid], 193.412063, 13);
PlayerTextDrawAlignment(playerid, Tela[4][playerid], 1);
PlayerTextDrawColor(playerid, Tela[4][playerid], -1);
PlayerTextDrawUseBox(playerid, Tela[4][playerid], true);
PlayerTextDrawBoxColor(playerid, Tela[4][playerid], 50);
PlayerTextDrawSetShadow(playerid, Tela[4][playerid], 0);
PlayerTextDrawSetOutline(playerid, Tela[4][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Tela[4][playerid], 35);
PlayerTextDrawFont(playerid, Tela[4][playerid], 2);
PlayerTextDrawSetProportional(playerid, Tela[4][playerid], 1);
PlayerTextDrawSetSelectable(playerid, Tela[4][playerid], true);
Tela[5][playerid] = CreatePlayerTextDraw(playerid, 15.647102, 281.416564, " ~>~ Contatos");
PlayerTextDrawLetterSize(playerid, Tela[5][playerid], 0.351645, 1.553333);
PlayerTextDrawTextSize(playerid, Tela[5][playerid], 193.412063, 13);
PlayerTextDrawAlignment(playerid, Tela[5][playerid], 1);
PlayerTextDrawColor(playerid, Tela[5][playerid], -1);
PlayerTextDrawUseBox(playerid, Tela[5][playerid], true);
PlayerTextDrawBoxColor(playerid, Tela[5][playerid], 50);
PlayerTextDrawSetShadow(playerid, Tela[5][playerid], 0);
PlayerTextDrawSetOutline(playerid, Tela[5][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Tela[5][playerid], 35);
PlayerTextDrawFont(playerid, Tela[5][playerid], 2);
PlayerTextDrawSetProportional(playerid, Tela[5][playerid], 1);
PlayerTextDrawSetSelectable(playerid, Tela[5][playerid], true);
Tela[6][playerid] = CreatePlayerTextDraw(playerid, 15.705924, 308.083251, " ~>~ Creditos");
PlayerTextDrawLetterSize(playerid, Tela[6][playerid], 0.351645, 1.553333);
PlayerTextDrawTextSize(playerid, Tela[6][playerid], 193.412063, 13);
PlayerTextDrawAlignment(playerid, Tela[6][playerid], 1);
PlayerTextDrawColor(playerid, Tela[6][playerid], -1);
PlayerTextDrawUseBox(playerid, Tela[6][playerid], true);
PlayerTextDrawBoxColor(playerid, Tela[6][playerid], 50);
PlayerTextDrawSetShadow(playerid, Tela[6][playerid], 0);
PlayerTextDrawSetOutline(playerid, Tela[6][playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Tela[6][playerid], 35);
PlayerTextDrawFont(playerid, Tela[6][playerid], 2);
PlayerTextDrawSetProportional(playerid, Tela[6][playerid], 1);
PlayerTextDrawSetSelectable(playerid, Tela[6][playerid], true);
Tela[7][playerid] = CreatePlayerTextDraw(playerid, 10.823516, 218.166687, "s");
PlayerTextDrawLetterSize(playerid, Tela[7][playerid], 12.513529, 0.841666);
PlayerTextDrawAlignment(playerid, Tela[7][playerid], 1);
PlayerTextDrawColor(playerid, Tela[7][playerid], 255);
PlayerTextDrawSetShadow(playerid, Tela[7][playerid], 0);
PlayerTextDrawSetOutline(playerid, Tela[7][playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Tela[7][playerid], 51);
PlayerTextDrawFont(playerid, Tela[7][playerid], 1);
PlayerTextDrawSetProportional(playerid, Tela[7][playerid], 1);
Tela[8][playerid] = CreatePlayerTextDraw(playerid, 9.941162, 244.833404, "s");
PlayerTextDrawLetterSize(playerid, Tela[8][playerid], 12.513529, 0.841666);
PlayerTextDrawAlignment(playerid, Tela[8][playerid], 1);
PlayerTextDrawColor(playerid, Tela[8][playerid], 255);
PlayerTextDrawSetShadow(playerid, Tela[8][playerid], 0);
PlayerTextDrawSetOutline(playerid, Tela[8][playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Tela[8][playerid], 51);
PlayerTextDrawFont(playerid, Tela[8][playerid], 1);
PlayerTextDrawSetProportional(playerid, Tela[8][playerid], 1);
Tela[9][playerid] = CreatePlayerTextDraw(playerid, 11.411750, 270.916778, "s");
PlayerTextDrawLetterSize(playerid, Tela[9][playerid], 12.513529, 0.841666);
PlayerTextDrawAlignment(playerid, Tela[9][playerid], 1);
PlayerTextDrawColor(playerid, Tela[9][playerid], 255);
PlayerTextDrawSetShadow(playerid, Tela[9][playerid], 0);
PlayerTextDrawSetOutline(playerid, Tela[9][playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Tela[9][playerid], 51);
PlayerTextDrawFont(playerid, Tela[9][playerid], 1);
PlayerTextDrawSetProportional(playerid, Tela[9][playerid], 1);
Tela[10][playerid] = CreatePlayerTextDraw(playerid, 6.294100, 298.166839, "s");
PlayerTextDrawLetterSize(playerid, Tela[10][playerid], 12.513529, 0.841666);
PlayerTextDrawAlignment(playerid, Tela[10][playerid], 1);
PlayerTextDrawColor(playerid, Tela[10][playerid], 255);
PlayerTextDrawSetShadow(playerid, Tela[10][playerid], 0);
PlayerTextDrawSetOutline(playerid, Tela[10][playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Tela[10][playerid], 51);
PlayerTextDrawFont(playerid, Tela[10][playerid], 1);
PlayerTextDrawSetProportional(playerid, Tela[10][playerid], 1);
PlayerTextDrawShow(playerid, Tela[0][playerid]);
PlayerTextDrawShow(playerid, Tela[1][playerid]);
PlayerTextDrawShow(playerid, Tela[2][playerid]);
PlayerTextDrawShow(playerid, Tela[3][playerid]);
PlayerTextDrawShow(playerid, Tela[4][playerid]);
PlayerTextDrawShow(playerid, Tela[5][playerid]);
PlayerTextDrawShow(playerid, Tela[6][playerid]);
PlayerTextDrawShow(playerid, Tela[7][playerid]);
PlayerTextDrawShow(playerid, Tela[8][playerid]);
PlayerTextDrawShow(playerid, Tela[9][playerid]);
PlayerTextDrawShow(playerid, Tela[10][playerid]);
SelectTextDraw (playerid, 0xFF0000FF);
PlayersTime[playerid] = SetTimerEx("PlayerTimer", 1100 , 1 , "i", playerid);
return 1;
}