Sziasztok! Elkészítettem elsõ textdrawomat, ami egy login panel szeretne lenni!
Nincsen bescriptelve!Készítõ:Én
Elkészítési idõ:~30 perc
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;
new Text:Textdraw12;
new Text:Textdraw13;
new Text:Textdraw14;
new Text:Textdraw15;
new Text:Textdraw16;
Textdraw0 = TextDrawCreate(492.500000, 158.083328, \"New Textdraw\");
TextDrawLetterSize(Textdraw0, 0.449999, 1.600000);
TextDrawAlignment(Textdraw0, 1);
TextDrawColor(Textdraw0, -1);
TextDrawSetShadow(Textdraw0, 0);
TextDrawSetOutline(Textdraw0, 1);
TextDrawBackgroundColor(Textdraw0, 51);
TextDrawFont(Textdraw0, 4);
TextDrawSetProportional(Textdraw0, 1);
Textdraw1 = TextDrawCreate(368.875000, 1.500000, \"usebox\");
TextDrawLetterSize(Textdraw1, 0.000000, 49.396297);
TextDrawTextSize(Textdraw1, -2.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(36.875000, 25.666675, \"NEXT LIFE\");
TextDrawLetterSize(Textdraw2, 0.868749, 4.224998);
TextDrawAlignment(Textdraw2, 1);
TextDrawColor(Textdraw2, -5963521);
TextDrawSetShadow(Textdraw2, 0);
TextDrawSetOutline(Textdraw2, 1);
TextDrawBackgroundColor(Textdraw2, 51);
TextDrawFont(Textdraw2, 3);
TextDrawSetProportional(Textdraw2, 1);
Textdraw3 = TextDrawCreate(207.500000, 23.916656, \"RPG\");
TextDrawLetterSize(Textdraw3, 1.062500, 4.750000);
TextDrawAlignment(Textdraw3, 1);
TextDrawColor(Textdraw3, -1);
TextDrawSetShadow(Textdraw3, 0);
TextDrawSetOutline(Textdraw3, 1);
TextDrawBackgroundColor(Textdraw3, 51);
TextDrawFont(Textdraw3, 3);
TextDrawSetProportional(Textdraw3, 1);
Textdraw4 = TextDrawCreate(15.625000, 98.583328, \"Felhasznalonev\");
TextDrawLetterSize(Textdraw4, 0.449999, 1.600000);
TextDrawAlignment(Textdraw4, 1);
TextDrawColor(Textdraw4, -1);
TextDrawSetShadow(Textdraw4, 0);
TextDrawSetOutline(Textdraw4, 1);
TextDrawBackgroundColor(Textdraw4, 51);
TextDrawFont(Textdraw4, 1);
TextDrawSetProportional(Textdraw4, 1);
Textdraw5 = TextDrawCreate(140.750000, 117.000000, \"usebox\");
TextDrawLetterSize(Textdraw5, 0.000000, 1.238888);
TextDrawTextSize(Textdraw5, 13.625000, 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(18.125000, 148.749984, \"Jelszo\");
TextDrawLetterSize(Textdraw6, 0.449999, 1.600000);
TextDrawAlignment(Textdraw6, 1);
TextDrawColor(Textdraw6, -1);
TextDrawSetShadow(Textdraw6, 0);
TextDrawSetOutline(Textdraw6, 1);
TextDrawBackgroundColor(Textdraw6, 51);
TextDrawFont(Textdraw6, 1);
TextDrawSetProportional(Textdraw6, 1);
Textdraw7 = TextDrawCreate(379.000000, 51.899997, \"usebox\");
TextDrawLetterSize(Textdraw7, 0.000000, 0.046296);
TextDrawTextSize(Textdraw7, 387.500000, 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(140.125000, 166.583343, \"usebox\");
TextDrawLetterSize(Textdraw8, 0.000000, 1.174072);
TextDrawTextSize(Textdraw8, 15.500000, 0.000000);
TextDrawAlignment(Textdraw8, 1);
TextDrawColor(Textdraw8, 65535);
TextDrawUseBox(Textdraw8, true);
TextDrawBoxColor(Textdraw8, 102);
TextDrawSetShadow(Textdraw8, 0);
TextDrawSetOutline(Textdraw8, 0);
TextDrawFont(Textdraw8, 0);
Textdraw9 = TextDrawCreate(279.500000, 119.333335, \"usebox\");
TextDrawLetterSize(Textdraw9, 0.000000, 1.692591);
TextDrawTextSize(Textdraw9, 198.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(205.625000, 118.999992, \"Bele\'pe\'s\");
TextDrawLetterSize(Textdraw10, 0.449999, 1.600000);
TextDrawAlignment(Textdraw10, 1);
TextDrawColor(Textdraw10, -1);
TextDrawSetShadow(Textdraw10, 0);
TextDrawSetOutline(Textdraw10, 1);
TextDrawBackgroundColor(Textdraw10, 51);
TextDrawFont(Textdraw10, 1);
TextDrawSetProportional(Textdraw10, 1);
Textdraw11 = TextDrawCreate(279.500000, 152.583343, \"usebox\");
TextDrawLetterSize(Textdraw11, 0.000000, 1.562961);
TextDrawTextSize(Textdraw11, 196.750000, 0.000000);
TextDrawAlignment(Textdraw11, 1);
TextDrawColor(Textdraw11, 0);
TextDrawUseBox(Textdraw11, true);
TextDrawBoxColor(Textdraw11, 102);
TextDrawSetShadow(Textdraw11, 0);
TextDrawSetOutline(Textdraw11, 0);
TextDrawFont(Textdraw11, 0);
Textdraw12 = TextDrawCreate(202.500000, 150.499984, \"Regiszt.\");
TextDrawLetterSize(Textdraw12, 0.449999, 1.600000);
TextDrawAlignment(Textdraw12, 1);
TextDrawColor(Textdraw12, -2139062017);
TextDrawSetShadow(Textdraw12, 0);
TextDrawSetOutline(Textdraw12, 1);
TextDrawBackgroundColor(Textdraw12, 51);
TextDrawFont(Textdraw12, 1);
TextDrawSetProportional(Textdraw12, 1);
Textdraw13 = TextDrawCreate(0.000000, 197.166656, \"LD_SPAC:white\");
TextDrawLetterSize(Textdraw13, 0.000000, 0.000000);
TextDrawTextSize(Textdraw13, 367.500000, 10.500000);
TextDrawAlignment(Textdraw13, 1);
TextDrawColor(Textdraw13, -1);
TextDrawSetShadow(Textdraw13, 0);
TextDrawSetOutline(Textdraw13, 0);
TextDrawFont(Textdraw13, 4);
Textdraw14 = TextDrawCreate(18.750000, 218.166671, \"Szia! ödvozollek a szerveren\");
TextDrawLetterSize(Textdraw14, 0.449999, 1.600000);
TextDrawAlignment(Textdraw14, 1);
TextDrawColor(Textdraw14, -1);
TextDrawSetShadow(Textdraw14, 0);
TextDrawSetOutline(Textdraw14, 1);
TextDrawBackgroundColor(Textdraw14, 51);
TextDrawFont(Textdraw14, 1);
TextDrawSetProportional(Textdraw14, 1);
Textdraw15 = TextDrawCreate(55.000000, 217.583251, \"U\");
TextDrawLetterSize(Textdraw15, 0.449999, 1.600000);
TextDrawAlignment(Textdraw15, 1);
TextDrawColor(Textdraw15, -1);
TextDrawSetShadow(Textdraw15, 0);
TextDrawSetOutline(Textdraw15, 1);
TextDrawBackgroundColor(Textdraw15, 51);
TextDrawFont(Textdraw15, 1);
TextDrawSetProportional(Textdraw15, 1);
Textdraw16 = TextDrawCreate(19.375000, 258.416687, \"E\'rezd jo\'l magad!\");
TextDrawLetterSize(Textdraw16, 0.449999, 1.600000);
TextDrawAlignment(Textdraw16, 1);
TextDrawColor(Textdraw16, -1);
TextDrawSetShadow(Textdraw16, 0);
TextDrawSetOutline(Textdraw16, 1);
TextDrawBackgroundColor(Textdraw16, 51);
TextDrawFont(Textdraw16, 1);
TextDrawSetProportional(Textdraw16, 1);
//Player Textdraws:
new PlayerText:Textdraw0[MAX_PLAYERS];
new PlayerText:Textdraw1[MAX_PLAYERS];
Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 158.750000, 218.166610, \"Next Life RPG\");
PlayerTextDrawLetterSize(playerid, Textdraw0[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw0[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw0[playerid], -16776961);
PlayerTextDrawSetShadow(playerid, Textdraw0[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw0[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw0[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw0[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw0[playerid], 1);
Textdraw1[playerid] = CreatePlayerTextDraw(playerid, 224.375000, 294.000000, \"New Textdraw\");
PlayerTextDrawLetterSize(playerid, Textdraw1[playerid], 0.449999, 1.600000);
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], 4);
PlayerTextDrawSetProportional(playerid, Textdraw1[playerid], 1);
Kép:
http://www.kephost.com/image/lxm[gmod]Javítottam a
taget
tagre![/gmod]