Szerző Téma: Textdraw mutatása csatlakozáskor  (Megtekintve 605 alkalommal)

Textdraw mutatása csatlakozáskor
« Dátum: 2014. április 19. - 11:13:50 »
0 Show voters
Sziasztok, hogyan tudnám betenni a modomba a textdrawjaimat, hogy mikro felcsatlakozik egy ember mutassa nekik?
 
Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 487.777740, 140.877792, \"usebox\");
PlayerTextDrawLetterSize(playerid, Textdraw0[playerid], 0.000000, 20.147531);
PlayerTextDrawTextSize(playerid, Textdraw0[playerid], 160.666656, 0.000000);
PlayerTextDrawAlignment(playerid, Textdraw0[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw0[playerid], 0);
PlayerTextDrawUseBox(playerid, Textdraw0[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw0[playerid], 100);
PlayerTextDrawSetShadow(playerid, Textdraw0[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw0[playerid], 0);
PlayerTextDrawFont(playerid, Textdraw0[playerid], 0);
Textdraw1[playerid] = CreatePlayerTextDraw(playerid, 164.444473, 122.951148, \"Bejelentezes\");
PlayerTextDrawLetterSize(playerid, Textdraw1[playerid], 0.449999, 1.600000);
PlayerTextDrawTextSize(playerid, Textdraw1[playerid], 484.422363, -36.835552);
PlayerTextDrawAlignment(playerid, Textdraw1[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw1[playerid], -1);
PlayerTextDrawUseBox(playerid, Textdraw1[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw1[playerid], 311543722);
PlayerTextDrawSetShadow(playerid, Textdraw1[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw1[playerid], -1);
PlayerTextDrawBackgroundColor(playerid, Textdraw1[playerid], 170);
PlayerTextDrawFont(playerid, Textdraw1[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw1[playerid], 1);
Textdraw2[playerid] = CreatePlayerTextDraw(playerid, 196.888961, 164.764450, \"Felhasznalonev\");
PlayerTextDrawLetterSize(playerid, Textdraw2[playerid], 0.449999, 1.600000);
PlayerTextDrawTextSize(playerid, Textdraw2[playerid], 448.888946, 4.977776);
PlayerTextDrawAlignment(playerid, Textdraw2[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw2[playerid], -1);
PlayerTextDrawUseBox(playerid, Textdraw2[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw2[playerid], 311543722);
PlayerTextDrawSetShadow(playerid, Textdraw2[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw2[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw2[playerid], 255);
PlayerTextDrawFont(playerid, Textdraw2[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw2[playerid], 1);
Textdraw3[playerid] = CreatePlayerTextDraw(playerid, 323.431091, 164.764480, \"Beir\");
PlayerTextDrawLetterSize(playerid, Textdraw3[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw3[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw3[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw3[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw3[playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Textdraw3[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw3[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw3[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw3[playerid], true);
Textdraw4[playerid] = CreatePlayerTextDraw(playerid, 327.111175, 212.053421, \"Beir\");
PlayerTextDrawLetterSize(playerid, Textdraw4[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw4[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw4[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw4[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw4[playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Textdraw4[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw4[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw4[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw4[playerid], true);
Textdraw5[playerid] = CreatePlayerTextDraw(playerid, 196.888931, 212.053329, \"Jelszo\");
PlayerTextDrawLetterSize(playerid, Textdraw5[playerid], 0.449999, 1.600000);
PlayerTextDrawTextSize(playerid, Textdraw5[playerid], 448.888885, 10.951108);
PlayerTextDrawAlignment(playerid, Textdraw5[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw5[playerid], -1);
PlayerTextDrawUseBox(playerid, Textdraw5[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw5[playerid], 311543722);
PlayerTextDrawSetShadow(playerid, Textdraw5[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw5[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw5[playerid], 255);
PlayerTextDrawFont(playerid, Textdraw5[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw5[playerid], 1);
Textdraw6[playerid] = CreatePlayerTextDraw(playerid, 318.666656, 264.320068, \"Bejelentkezes\");
PlayerTextDrawLetterSize(playerid, Textdraw6[playerid], 0.449999, 1.600000);
PlayerTextDrawTextSize(playerid, Textdraw6[playerid], -702.222778, -158.293304);
PlayerTextDrawAlignment(playerid, Textdraw6[playerid], 2);
PlayerTextDrawColor(playerid, Textdraw6[playerid], -1);
PlayerTextDrawUseBox(playerid, Textdraw6[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw6[playerid], 311543722);
PlayerTextDrawSetShadow(playerid, Textdraw6[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw6[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw6[playerid], 255);
PlayerTextDrawFont(playerid, Textdraw6[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw6[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw6[playerid], true);
« Utoljára szerkesztve: 2014. április 19. - 11:31:34 írta Campe3r »

Nem elérhető Dfoglalo

  • 4069
  • Globális Moderátor
    • Profil megtekintése
Textdraw mutatása csatlakozáskor
« Válasz #1 Dátum: 2014. április 19. - 11:15:52 »
0 Show voters
public OnPlayerConnect(playeid)
{
    PlayerTextDrawShow();
    return 1;
}

Textdraw mutatása csatlakozáskor
« Válasz #2 Dátum: 2014. április 19. - 11:18:35 »
0 Show voters
Edit: OnPlayerConnect alá beraktam, és mûködik, köszi.
« Utoljára szerkesztve: 2014. április 19. - 11:31:09 írta Campe3r »

Nem elérhető Dfoglalo

  • 4069
  • Globális Moderátor
    • Profil megtekintése
Textdraw mutatása csatlakozáskor
« Válasz #3 Dátum: 2014. április 19. - 11:32:00 »
0 Show voters
Nem, a Player TD-ket OnPlayerConnect alatt tudod létrehozni, vagy OnGameModeInIt alatt, for ciklus segítségével, minden játékos részére (felesleges megoldás, mert felesleges TD-ket is létrehoz).


Edit: persze hogy pont sikerül megoldanod, mikor leírom, hova kéne :D Ez az én szerencsém. :P


[mod]Viszont nem elég sajnos a megoldva tag, zárni is kell a témát. De azt köszi, hogy kiraktad. :) Zárom.[/mod]
« Utoljára szerkesztve: 2014. április 19. - 11:33:36 írta Dfoglalo »

Textdraw mutatása csatlakozáskor
« Válasz #4 Dátum: 2014. április 19. - 11:13:50 »
0 Show voters
Sziasztok, hogyan tudnám betenni a modomba a textdrawjaimat, hogy mikro felcsatlakozik egy ember mutassa nekik?
 
Textdraw0[playerid] = CreatePlayerTextDraw(playerid, 487.777740, 140.877792, \"usebox\");
PlayerTextDrawLetterSize(playerid, Textdraw0[playerid], 0.000000, 20.147531);
PlayerTextDrawTextSize(playerid, Textdraw0[playerid], 160.666656, 0.000000);
PlayerTextDrawAlignment(playerid, Textdraw0[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw0[playerid], 0);
PlayerTextDrawUseBox(playerid, Textdraw0[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw0[playerid], 100);
PlayerTextDrawSetShadow(playerid, Textdraw0[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw0[playerid], 0);
PlayerTextDrawFont(playerid, Textdraw0[playerid], 0);
Textdraw1[playerid] = CreatePlayerTextDraw(playerid, 164.444473, 122.951148, \"Bejelentezes\");
PlayerTextDrawLetterSize(playerid, Textdraw1[playerid], 0.449999, 1.600000);
PlayerTextDrawTextSize(playerid, Textdraw1[playerid], 484.422363, -36.835552);
PlayerTextDrawAlignment(playerid, Textdraw1[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw1[playerid], -1);
PlayerTextDrawUseBox(playerid, Textdraw1[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw1[playerid], 311543722);
PlayerTextDrawSetShadow(playerid, Textdraw1[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw1[playerid], -1);
PlayerTextDrawBackgroundColor(playerid, Textdraw1[playerid], 170);
PlayerTextDrawFont(playerid, Textdraw1[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw1[playerid], 1);
Textdraw2[playerid] = CreatePlayerTextDraw(playerid, 196.888961, 164.764450, \"Felhasznalonev\");
PlayerTextDrawLetterSize(playerid, Textdraw2[playerid], 0.449999, 1.600000);
PlayerTextDrawTextSize(playerid, Textdraw2[playerid], 448.888946, 4.977776);
PlayerTextDrawAlignment(playerid, Textdraw2[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw2[playerid], -1);
PlayerTextDrawUseBox(playerid, Textdraw2[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw2[playerid], 311543722);
PlayerTextDrawSetShadow(playerid, Textdraw2[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw2[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw2[playerid], 255);
PlayerTextDrawFont(playerid, Textdraw2[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw2[playerid], 1);
Textdraw3[playerid] = CreatePlayerTextDraw(playerid, 323.431091, 164.764480, \"Beir\");
PlayerTextDrawLetterSize(playerid, Textdraw3[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw3[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw3[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw3[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw3[playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Textdraw3[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw3[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw3[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw3[playerid], true);
Textdraw4[playerid] = CreatePlayerTextDraw(playerid, 327.111175, 212.053421, \"Beir\");
PlayerTextDrawLetterSize(playerid, Textdraw4[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw4[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw4[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw4[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw4[playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Textdraw4[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw4[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw4[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw4[playerid], true);
Textdraw5[playerid] = CreatePlayerTextDraw(playerid, 196.888931, 212.053329, \"Jelszo\");
PlayerTextDrawLetterSize(playerid, Textdraw5[playerid], 0.449999, 1.600000);
PlayerTextDrawTextSize(playerid, Textdraw5[playerid], 448.888885, 10.951108);
PlayerTextDrawAlignment(playerid, Textdraw5[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw5[playerid], -1);
PlayerTextDrawUseBox(playerid, Textdraw5[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw5[playerid], 311543722);
PlayerTextDrawSetShadow(playerid, Textdraw5[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw5[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw5[playerid], 255);
PlayerTextDrawFont(playerid, Textdraw5[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw5[playerid], 1);
Textdraw6[playerid] = CreatePlayerTextDraw(playerid, 318.666656, 264.320068, \"Bejelentkezes\");
PlayerTextDrawLetterSize(playerid, Textdraw6[playerid], 0.449999, 1.600000);
PlayerTextDrawTextSize(playerid, Textdraw6[playerid], -702.222778, -158.293304);
PlayerTextDrawAlignment(playerid, Textdraw6[playerid], 2);
PlayerTextDrawColor(playerid, Textdraw6[playerid], -1);
PlayerTextDrawUseBox(playerid, Textdraw6[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw6[playerid], 311543722);
PlayerTextDrawSetShadow(playerid, Textdraw6[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw6[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw6[playerid], 255);
PlayerTextDrawFont(playerid, Textdraw6[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw6[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw6[playerid], true);
« Utoljára szerkesztve: 2014. április 19. - 11:31:34 írta Campe3r »

Nem elérhető Dfoglalo

  • 4069
  • Globális Moderátor
    • Profil megtekintése
Textdraw mutatása csatlakozáskor
« Válasz #5 Dátum: 2014. április 19. - 11:15:52 »
0 Show voters
public OnPlayerConnect(playeid)
{
    PlayerTextDrawShow();
    return 1;
}

Textdraw mutatása csatlakozáskor
« Válasz #6 Dátum: 2014. április 19. - 11:18:35 »
0 Show voters
Edit: OnPlayerConnect alá beraktam, és mûködik, köszi.
« Utoljára szerkesztve: 2014. április 19. - 11:31:09 írta Campe3r »

Nem elérhető Dfoglalo

  • 4069
  • Globális Moderátor
    • Profil megtekintése
Textdraw mutatása csatlakozáskor
« Válasz #7 Dátum: 2014. április 19. - 11:32:00 »
0 Show voters
Nem, a Player TD-ket OnPlayerConnect alatt tudod létrehozni, vagy OnGameModeInIt alatt, for ciklus segítségével, minden játékos részére (felesleges megoldás, mert felesleges TD-ket is létrehoz).


Edit: persze hogy pont sikerül megoldanod, mikor leírom, hova kéne :D Ez az én szerencsém. :P


[mod]Viszont nem elég sajnos a megoldva tag, zárni is kell a témát. De azt köszi, hogy kiraktad. :) Zárom.[/mod]
« Utoljára szerkesztve: 2014. április 19. - 11:33:36 írta Dfoglalo »

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal