Szerző Téma: Login panel (textdraw)  (Megtekintve 758 alkalommal)

Nem elérhető Th0mas

  • 278
    • Profil megtekintése
Login panel (textdraw)
« Dátum: 2016. február 28. - 15:55:28 »
0 Show voters
Sziasztok!
 Másfél órát kínlódtam mire összeraktam a textdrawokat és azt szeretném hogy ha rákattintok pl a Felhasználónévre akkor be kelljen írni oda egy nevet jelszóhoz jelszót, nekem csak annyi elég lenne ha rákattintok történjen valami, hogy oldhatnám meg?
 
//Global Textdraws:
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;
new Text:Textdraw5;
new Text:Textdraw6;
new Text:Textdraw7;
new Text:Textdraw8;
new Text:Textdraw9;
new Text:Textdraw10;
new Text:Textdraw11;
 
Textdraw0 = TextDrawCreate(100.000000, 95.416671, \"usebox\");
TextDrawLetterSize(Textdraw0, 0.000000, 31.183334);
TextDrawTextSize(Textdraw0, 515.500000, 0.000000);
TextDrawAlignment(Textdraw0, 1);
TextDrawColor(Textdraw0, 0);
TextDrawUseBox(Textdraw0, true);
TextDrawBoxColor(Textdraw0, 102);
TextDrawSetShadow(Textdraw0, 0);
TextDrawSetOutline(Textdraw0, 0);
TextDrawFont(Textdraw0, 0);
Textdraw1 = TextDrawCreate(519.000000, 117.583335, \"usebox\");
TextDrawLetterSize(Textdraw1, 0.000000, 0.007406);
TextDrawTextSize(Textdraw1, 96.000000, 0.000000);
TextDrawAlignment(Textdraw1, 1);
TextDrawColor(Textdraw1, 0);
TextDrawUseBox(Textdraw1, true);
TextDrawBoxColor(Textdraw1, 102);
TextDrawSetShadow(Textdraw1, 0);
TextDrawSetOutline(Textdraw1, 0);
TextDrawFont(Textdraw1, 0);
Textdraw2 = TextDrawCreate(252.000000, 96.833312, \"MySQL RPG v1.0\");
TextDrawLetterSize(Textdraw2, 0.449999, 1.600000);
TextDrawAlignment(Textdraw2, 1);
TextDrawColor(Textdraw2, -16776961);
TextDrawSetShadow(Textdraw2, 0);
TextDrawSetOutline(Textdraw2, 1);
TextDrawBackgroundColor(Textdraw2, 51);
TextDrawFont(Textdraw2, 3);
TextDrawSetProportional(Textdraw2, 1);
Textdraw3 = TextDrawCreate(517.500000, 95.416671, \"usebox\");
TextDrawLetterSize(Textdraw3, 0.000000, -0.187038);
TextDrawTextSize(Textdraw3, 96.000000, 0.000000);
TextDrawAlignment(Textdraw3, 1);
TextDrawColor(Textdraw3, 0);
TextDrawUseBox(Textdraw3, true);
TextDrawBoxColor(Textdraw3, 102);
TextDrawSetShadow(Textdraw3, 0);
TextDrawSetOutline(Textdraw3, 0);
TextDrawFont(Textdraw3, 0);
Textdraw4 = TextDrawCreate(314.500000, 120.500000, \"usebox\");
TextDrawLetterSize(Textdraw4, 0.000000, 28.396299);
TextDrawTextSize(Textdraw4, 305.000000, 0.000000);
TextDrawAlignment(Textdraw4, 1);
TextDrawColor(Textdraw4, 0);
TextDrawUseBox(Textdraw4, true);
TextDrawBoxColor(Textdraw4, 102);
TextDrawSetShadow(Textdraw4, 0);
TextDrawSetOutline(Textdraw4, 0);
TextDrawFont(Textdraw4, 0);
Textdraw5 = TextDrawCreate(259.500000, 146.750000, \"usebox\");
TextDrawLetterSize(Textdraw5, 0.000000, 2.461111);
TextDrawTextSize(Textdraw5, 139.500000, 0.000000);
TextDrawAlignment(Textdraw5, 1);
TextDrawColor(Textdraw5, 0);
TextDrawUseBox(Textdraw5, true);
TextDrawBoxColor(Textdraw5, 102);
TextDrawSetShadow(Textdraw5, 0);
TextDrawSetOutline(Textdraw5, 0);
TextDrawFont(Textdraw5, 0);
Textdraw6 = TextDrawCreate(260.500000, 197.333374, \"usebox\");
TextDrawLetterSize(Textdraw6, 0.000000, 2.461111);
TextDrawTextSize(Textdraw6, 139.500000, 0.000000);
TextDrawAlignment(Textdraw6, 1);
TextDrawColor(Textdraw6, 0);
TextDrawUseBox(Textdraw6, true);
TextDrawBoxColor(Textdraw6, 102);
TextDrawSetShadow(Textdraw6, 0);
TextDrawSetOutline(Textdraw6, 0);
TextDrawFont(Textdraw6, 0);
Textdraw7 = TextDrawCreate(311.000000, 240.083328, \"usebox\");
TextDrawLetterSize(Textdraw7, 0.000000, 0.331481);
TextDrawTextSize(Textdraw7, 96.000000, 0.000000);
TextDrawAlignment(Textdraw7, 1);
TextDrawColor(Textdraw7, 0);
TextDrawUseBox(Textdraw7, true);
TextDrawBoxColor(Textdraw7, 102);
TextDrawSetShadow(Textdraw7, 0);
TextDrawSetOutline(Textdraw7, 0);
TextDrawFont(Textdraw7, 0);
Textdraw8 = TextDrawCreate(264.000000, 277.083374, \"usebox\");
TextDrawLetterSize(Textdraw8, 0.000000, 2.461111);
TextDrawTextSize(Textdraw8, 142.000000, 0.000000);
TextDrawAlignment(Textdraw8, 1);
TextDrawColor(Textdraw8, 0);
TextDrawUseBox(Textdraw8, true);
TextDrawBoxColor(Textdraw8, 102);
TextDrawSetShadow(Textdraw8, 0);
TextDrawSetOutline(Textdraw8, 0);
TextDrawFont(Textdraw8, 0);
Textdraw9 = TextDrawCreate(265.000000, 313.083343, \"usebox\");
TextDrawLetterSize(Textdraw9, 0.000000, 2.461111);
TextDrawTextSize(Textdraw9, 142.000000, 0.000000);
TextDrawAlignment(Textdraw9, 1);
TextDrawColor(Textdraw9, 0);
TextDrawUseBox(Textdraw9, true);
TextDrawBoxColor(Textdraw9, 102);
TextDrawSetShadow(Textdraw9, 0);
TextDrawSetOutline(Textdraw9, 0);
TextDrawFont(Textdraw9, 0);
Textdraw10 = TextDrawCreate(348.000000, 126.583274, \"A szerverrol:\");
TextDrawLetterSize(Textdraw10, 0.449999, 1.600000);
TextDrawAlignment(Textdraw10, 1);
TextDrawColor(Textdraw10, 16777215);
TextDrawSetShadow(Textdraw10, 0);
TextDrawSetOutline(Textdraw10, 1);
TextDrawBackgroundColor(Textdraw10, 51);
TextDrawFont(Textdraw10, 0);
TextDrawSetProportional(Textdraw10, 1);
Textdraw11 = TextDrawCreate(519.500000, 145.583343, \"usebox\");
TextDrawLetterSize(Textdraw11, 0.000000, -0.057408);
TextDrawTextSize(Textdraw11, 310.000000, 0.000000);
TextDrawAlignment(Textdraw11, 1);
TextDrawColor(Textdraw11, 0);
TextDrawUseBox(Textdraw11, true);
TextDrawBoxColor(Textdraw11, 102);
TextDrawSetShadow(Textdraw11, 0);
TextDrawSetOutline(Textdraw11, 0);
TextDrawFont(Textdraw11, 0);
 
//Player Textdraws:
new PlayerText:Textdraw0[MAX_PLAYERS];
new PlayerText:Textdraw1[MAX_PLAYERS];
new PlayerText:Textdraw2[MAX_PLAYERS];
new PlayerText:Textdraw3[MAX_PLAYERS];
 
Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 142.500000, 148.166656, \"Felhasznalo nev\");
PlayerTextDrawLetterSize(playerid, Textdraw0[playerid], 0.282999, 1.786666);
PlayerTextDrawAlignment(playerid, Textdraw0[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw0[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw0[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw0[playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Textdraw0[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw0[playerid], 2);
PlayerTextDrawSetProportional(playerid, Textdraw0[playerid], 1);
Textdraw1[playerid] = CreatePlayerTextDraw(playerid, 143.500000, 198.750030, \"Jelszo\");
PlayerTextDrawLetterSize(playerid, Textdraw1[playerid], 0.300000, 1.716665);
PlayerTextDrawAlignment(playerid, Textdraw1[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw1[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw1[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw1[playerid], -1);
PlayerTextDrawBackgroundColor(playerid, Textdraw1[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw1[playerid], 2);
PlayerTextDrawSetProportional(playerid, Textdraw1[playerid], 1);
Textdraw2[playerid] = CreatePlayerTextDraw(playerid, 146.000000, 277.499877, \"Belepes\");
PlayerTextDrawLetterSize(playerid, Textdraw2[playerid], 0.282999, 1.786666);
PlayerTextDrawAlignment(playerid, Textdraw2[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw2[playerid], 8388863);
PlayerTextDrawSetShadow(playerid, Textdraw2[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw2[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw2[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw2[playerid], 2);
PlayerTextDrawSetProportional(playerid, Textdraw2[playerid], 1);
Textdraw3[playerid] = CreatePlayerTextDraw(playerid, 147.000000, 313.499877, \"Regisztracio\");
PlayerTextDrawLetterSize(playerid, Textdraw3[playerid], 0.282999, 1.786666);
PlayerTextDrawAlignment(playerid, Textdraw3[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw3[playerid], 8388863);
PlayerTextDrawSetShadow(playerid, Textdraw3[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw3[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw3[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw3[playerid], 2);
PlayerTextDrawSetProportional(playerid, Textdraw3[playerid], 1);

Login panel (textdraw)
« Válasz #1 Dátum: 2016. február 28. - 16:10:56 »
+1 Show voters
Attól függ, milyen a textdraw:
Globális
Player textdraw

Nem elérhető Th0mas

  • 278
    • Profil megtekintése
Login panel (textdraw)
« Válasz #2 Dátum: 2016. február 28. - 16:12:20 »
0 Show voters
És akkor iffel lekérdezem hogy ráment-e?

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal