Szerző Téma: OnPlayerConnectnél nem mûködik a TextDraw  (Megtekintve 619 alkalommal)

Nem elérhető doboka98

  • 1002
    • Profil megtekintése
OnPlayerConnectnél nem mûködik a TextDraw
« Dátum: 2014. április 14. - 14:58:33 »
0 Show voters
Heló! Szívtam pár órát ezzel, de nem tudok rájönni mi a probléma. OnPlayerConnectnél nekem meg kéne jelenjen egy textdraw, de sehogysem akar, üres a dolog...
Textdrawok:
 

        Textdraw13 = TextDrawCreate(483.500000, 146.312500, \"usebox\");
TextDrawLetterSize(Textdraw13, 0.000000, 12.030550);
TextDrawTextSize(Textdraw13, 170.500000, 0.000000);
TextDrawAlignment(Textdraw13, 1);
TextDrawColor(Textdraw13, 0);
TextDrawUseBox(Textdraw13, true);
TextDrawBoxColor(Textdraw13, 102);
TextDrawSetShadow(Textdraw13, 0);
TextDrawSetOutline(Textdraw13, 0);
TextDrawFont(Textdraw13, 0);
Textdraw14 = TextDrawCreate(177.000000, 140.625000, \"usebox\");
TextDrawLetterSize(Textdraw14, 0.000000, 13.443056);
TextDrawTextSize(Textdraw14, 169.500000, 0.000000);
TextDrawAlignment(Textdraw14, 1);
TextDrawColor(Textdraw14, 0);
TextDrawUseBox(Textdraw14, true);
TextDrawBoxColor(Textdraw14, -5963521);
TextDrawSetShadow(Textdraw14, 0);
TextDrawSetOutline(Textdraw14, 0);
TextDrawFont(Textdraw14, 0);
Textdraw15 = TextDrawCreate(486.000000, 139.437500, \"usebox\");
TextDrawLetterSize(Textdraw15, 0.000000, 13.393054);
TextDrawTextSize(Textdraw15, 478.500000, 0.000000);
TextDrawAlignment(Textdraw15, 1);
TextDrawColor(Textdraw15, 0);
TextDrawUseBox(Textdraw15, true);
TextDrawBoxColor(Textdraw15, -5963521);
TextDrawSetShadow(Textdraw15, 0);
TextDrawSetOutline(Textdraw15, 0);
TextDrawFont(Textdraw15, 0);
Textdraw16 = TextDrawCreate(466.500000, 163.187500, \"usebox\");
TextDrawLetterSize(Textdraw16, 0.000000, -0.256942);
TextDrawTextSize(Textdraw16, 182.500000, 0.000000);
TextDrawAlignment(Textdraw16, 1);
TextDrawColor(Textdraw16, 0);
TextDrawUseBox(Textdraw16, true);
TextDrawBoxColor(Textdraw16, -5963521);
TextDrawSetShadow(Textdraw16, 0);
TextDrawSetOutline(Textdraw16, 0);
TextDrawFont(Textdraw16, 0);
Textdraw17 = TextDrawCreate(325.000000, 145.687500, \"Bejelentkezös\");
TextDrawLetterSize(Textdraw17, 0.449999, 1.600000);
TextDrawAlignment(Textdraw17, 2);
TextDrawColor(Textdraw17, -1);
TextDrawSetShadow(Textdraw17, 0);
TextDrawSetOutline(Textdraw17, 1);
TextDrawBackgroundColor(Textdraw17, 51);
TextDrawFont(Textdraw17, 2);
TextDrawSetProportional(Textdraw17, 1);
Textdraw18 = TextDrawCreate(440.000000, 198.375000, \"usebox\");
TextDrawLetterSize(Textdraw18, 0.000000, 2.599997);
TextDrawTextSize(Textdraw18, 202.000000, 0.000000);
TextDrawAlignment(Textdraw18, 1);
TextDrawColor(Textdraw18, 0);
TextDrawUseBox(Textdraw18, true);
TextDrawBoxColor(Textdraw18, 102);
TextDrawSetShadow(Textdraw18, 0);
TextDrawSetOutline(Textdraw18, 0);
TextDrawFont(Textdraw18, 0);
Textdraw19 = TextDrawCreate(286.000000, 201.250000, \"password\");
TextDrawLetterSize(Textdraw19, 0.449999, 1.600000);
TextDrawAlignment(Textdraw19, 1);
TextDrawColor(Textdraw19, -1);
TextDrawSetShadow(Textdraw19, 0);
TextDrawSetOutline(Textdraw19, 1);
TextDrawBackgroundColor(Textdraw19, 51);
TextDrawFont(Textdraw19, 1);
TextDrawSetProportional(Textdraw19, 1);
TextDrawSetSelectable(Textdraw19, true);
Textdraw20 = TextDrawCreate(249.500000, 184.625000, \"Add meg a jelszavad!\");
TextDrawLetterSize(Textdraw20, 0.288998, 1.123126);
TextDrawAlignment(Textdraw20, 1);
TextDrawColor(Textdraw20, -1);
TextDrawSetShadow(Textdraw20, 0);
TextDrawSetOutline(Textdraw20, 1);
TextDrawBackgroundColor(Textdraw20, 51);
TextDrawFont(Textdraw20, 2);
TextDrawSetProportional(Textdraw20, 1);
Textdraw21 = TextDrawCreate(325.000000, 145.687500, \"Regisztráció\");
TextDrawLetterSize(Textdraw21, 0.449999, 1.600000);
TextDrawAlignment(Textdraw21, 2);
TextDrawColor(Textdraw21, -1);
TextDrawSetShadow(Textdraw21, 0);
TextDrawSetOutline(Textdraw21, 1);
TextDrawBackgroundColor(Textdraw21, 51);
TextDrawFont(Textdraw21, 2);
TextDrawSetProportional(Textdraw21, 1);

 
OnPlayerConnect alatti rész:
 

                    TextDrawShowForPlayer(playerid, Textdraw13);
    TextDrawShowForPlayer(playerid, Textdraw14);
    TextDrawShowForPlayer(playerid, Textdraw15);
    TextDrawShowForPlayer(playerid, Textdraw16);
    TextDrawShowForPlayer(playerid, Textdraw17); //bejelentkezes
    TextDrawShowForPlayer(playerid, Textdraw18);
    TextDrawShowForPlayer(playerid, Textdraw19);
    TextDrawShowForPlayer(playerid, Textdraw20);

 
Nem értem mi a baja, pedig ez nagyon egyszerû dolog :D :D, de valamiért nem mûködik. Valakinek van valami ötlete?

Dupla hozzászólás automatikusan összefûzve. ( 2014. április 14. - 15:08:21 )

Megoldottam!
« Utoljára szerkesztve: 2014. április 14. - 15:08:21 írta doboka98 »

Nem elérhető doboka98

  • 1002
    • Profil megtekintése
OnPlayerConnectnél nem mûködik a TextDraw
« Válasz #1 Dátum: 2014. április 14. - 14:58:33 »
0 Show voters
Heló! Szívtam pár órát ezzel, de nem tudok rájönni mi a probléma. OnPlayerConnectnél nekem meg kéne jelenjen egy textdraw, de sehogysem akar, üres a dolog...
Textdrawok:
 

        Textdraw13 = TextDrawCreate(483.500000, 146.312500, \"usebox\");
TextDrawLetterSize(Textdraw13, 0.000000, 12.030550);
TextDrawTextSize(Textdraw13, 170.500000, 0.000000);
TextDrawAlignment(Textdraw13, 1);
TextDrawColor(Textdraw13, 0);
TextDrawUseBox(Textdraw13, true);
TextDrawBoxColor(Textdraw13, 102);
TextDrawSetShadow(Textdraw13, 0);
TextDrawSetOutline(Textdraw13, 0);
TextDrawFont(Textdraw13, 0);
Textdraw14 = TextDrawCreate(177.000000, 140.625000, \"usebox\");
TextDrawLetterSize(Textdraw14, 0.000000, 13.443056);
TextDrawTextSize(Textdraw14, 169.500000, 0.000000);
TextDrawAlignment(Textdraw14, 1);
TextDrawColor(Textdraw14, 0);
TextDrawUseBox(Textdraw14, true);
TextDrawBoxColor(Textdraw14, -5963521);
TextDrawSetShadow(Textdraw14, 0);
TextDrawSetOutline(Textdraw14, 0);
TextDrawFont(Textdraw14, 0);
Textdraw15 = TextDrawCreate(486.000000, 139.437500, \"usebox\");
TextDrawLetterSize(Textdraw15, 0.000000, 13.393054);
TextDrawTextSize(Textdraw15, 478.500000, 0.000000);
TextDrawAlignment(Textdraw15, 1);
TextDrawColor(Textdraw15, 0);
TextDrawUseBox(Textdraw15, true);
TextDrawBoxColor(Textdraw15, -5963521);
TextDrawSetShadow(Textdraw15, 0);
TextDrawSetOutline(Textdraw15, 0);
TextDrawFont(Textdraw15, 0);
Textdraw16 = TextDrawCreate(466.500000, 163.187500, \"usebox\");
TextDrawLetterSize(Textdraw16, 0.000000, -0.256942);
TextDrawTextSize(Textdraw16, 182.500000, 0.000000);
TextDrawAlignment(Textdraw16, 1);
TextDrawColor(Textdraw16, 0);
TextDrawUseBox(Textdraw16, true);
TextDrawBoxColor(Textdraw16, -5963521);
TextDrawSetShadow(Textdraw16, 0);
TextDrawSetOutline(Textdraw16, 0);
TextDrawFont(Textdraw16, 0);
Textdraw17 = TextDrawCreate(325.000000, 145.687500, \"Bejelentkezös\");
TextDrawLetterSize(Textdraw17, 0.449999, 1.600000);
TextDrawAlignment(Textdraw17, 2);
TextDrawColor(Textdraw17, -1);
TextDrawSetShadow(Textdraw17, 0);
TextDrawSetOutline(Textdraw17, 1);
TextDrawBackgroundColor(Textdraw17, 51);
TextDrawFont(Textdraw17, 2);
TextDrawSetProportional(Textdraw17, 1);
Textdraw18 = TextDrawCreate(440.000000, 198.375000, \"usebox\");
TextDrawLetterSize(Textdraw18, 0.000000, 2.599997);
TextDrawTextSize(Textdraw18, 202.000000, 0.000000);
TextDrawAlignment(Textdraw18, 1);
TextDrawColor(Textdraw18, 0);
TextDrawUseBox(Textdraw18, true);
TextDrawBoxColor(Textdraw18, 102);
TextDrawSetShadow(Textdraw18, 0);
TextDrawSetOutline(Textdraw18, 0);
TextDrawFont(Textdraw18, 0);
Textdraw19 = TextDrawCreate(286.000000, 201.250000, \"password\");
TextDrawLetterSize(Textdraw19, 0.449999, 1.600000);
TextDrawAlignment(Textdraw19, 1);
TextDrawColor(Textdraw19, -1);
TextDrawSetShadow(Textdraw19, 0);
TextDrawSetOutline(Textdraw19, 1);
TextDrawBackgroundColor(Textdraw19, 51);
TextDrawFont(Textdraw19, 1);
TextDrawSetProportional(Textdraw19, 1);
TextDrawSetSelectable(Textdraw19, true);
Textdraw20 = TextDrawCreate(249.500000, 184.625000, \"Add meg a jelszavad!\");
TextDrawLetterSize(Textdraw20, 0.288998, 1.123126);
TextDrawAlignment(Textdraw20, 1);
TextDrawColor(Textdraw20, -1);
TextDrawSetShadow(Textdraw20, 0);
TextDrawSetOutline(Textdraw20, 1);
TextDrawBackgroundColor(Textdraw20, 51);
TextDrawFont(Textdraw20, 2);
TextDrawSetProportional(Textdraw20, 1);
Textdraw21 = TextDrawCreate(325.000000, 145.687500, \"Regisztráció\");
TextDrawLetterSize(Textdraw21, 0.449999, 1.600000);
TextDrawAlignment(Textdraw21, 2);
TextDrawColor(Textdraw21, -1);
TextDrawSetShadow(Textdraw21, 0);
TextDrawSetOutline(Textdraw21, 1);
TextDrawBackgroundColor(Textdraw21, 51);
TextDrawFont(Textdraw21, 2);
TextDrawSetProportional(Textdraw21, 1);

 
OnPlayerConnect alatti rész:
 

                    TextDrawShowForPlayer(playerid, Textdraw13);
    TextDrawShowForPlayer(playerid, Textdraw14);
    TextDrawShowForPlayer(playerid, Textdraw15);
    TextDrawShowForPlayer(playerid, Textdraw16);
    TextDrawShowForPlayer(playerid, Textdraw17); //bejelentkezes
    TextDrawShowForPlayer(playerid, Textdraw18);
    TextDrawShowForPlayer(playerid, Textdraw19);
    TextDrawShowForPlayer(playerid, Textdraw20);

 
Nem értem mi a baja, pedig ez nagyon egyszerû dolog :D :D, de valamiért nem mûködik. Valakinek van valami ötlete?

Dupla hozzászólás automatikusan összefûzve. ( 2014. április 14. - 15:08:21 )

Megoldottam!
« Utoljára szerkesztve: 2014. április 14. - 15:08:21 írta doboka98 »

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal