SA-MP Forums Archive
[FilterScript] Textdraws box for information - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Textdraws box for information (/showthread.php?tid=584873)



Textdraws box for information - Metharon - 08.08.2015

Hope you like it.





pawn Код:
TutorialHUDP0[playerid] = CreatePlayerTextDraw(playerid, 340.615020, 157.500015, "Bun venit pe server!");
    PlayerTextDrawLetterSize(playerid, TutorialHUDP0[playerid], 0.365666, 2.066667);
    PlayerTextDrawAlignment(playerid, TutorialHUDP0[playerid], 2);
    PlayerTextDrawColor(playerid, TutorialHUDP0[playerid], -1);
    PlayerTextDrawSetShadow(playerid, TutorialHUDP0[playerid], 0);
    PlayerTextDrawSetOutline(playerid, TutorialHUDP0[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, TutorialHUDP0[playerid], 51);
    PlayerTextDrawFont(playerid, TutorialHUDP0[playerid], 2);
    PlayerTextDrawSetProportional(playerid, TutorialHUDP0[playerid], 1);

    TutorialHUDP1[playerid] = CreatePlayerTextDraw(playerid, 152.269332, 203.000000, "Bun venit pe serverul Fraggs - Romania!");
    PlayerTextDrawLetterSize(playerid, TutorialHUDP1[playerid], 0.313659, 1.763332);
    PlayerTextDrawAlignment(playerid, TutorialHUDP1[playerid], 1);
    PlayerTextDrawColor(playerid, TutorialHUDP1[playerid], -1);
    PlayerTextDrawSetShadow(playerid, TutorialHUDP1[playerid], 0);
    PlayerTextDrawSetOutline(playerid, TutorialHUDP1[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, TutorialHUDP1[playerid], 51);
    PlayerTextDrawFont(playerid, TutorialHUDP1[playerid], 1);
    PlayerTextDrawSetProportional(playerid, TutorialHUDP1[playerid], 1);

    TutorialHUDP2[playerid] = CreatePlayerTextDraw(playerid, 152.800811, 223.833358, "Acest server ruleaza modul rpg in joc.");
    PlayerTextDrawLetterSize(playerid, TutorialHUDP2[playerid], 0.313659, 1.763332);
    PlayerTextDrawAlignment(playerid, TutorialHUDP2[playerid], 1);
    PlayerTextDrawColor(playerid, TutorialHUDP2[playerid], -1);
    PlayerTextDrawSetShadow(playerid, TutorialHUDP2[playerid], 0);
    PlayerTextDrawSetOutline(playerid, TutorialHUDP2[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, TutorialHUDP2[playerid], 51);
    PlayerTextDrawFont(playerid, TutorialHUDP2[playerid], 1);
    PlayerTextDrawSetProportional(playerid, TutorialHUDP2[playerid], 1);

    TutorialHUDP3[playerid] = CreatePlayerTextDraw(playerid, 152.863769, 244.083328, "Iti voi prezenta un tutorial scurt de 3 minute acum.");
    PlayerTextDrawLetterSize(playerid, TutorialHUDP3[playerid], 0.313659, 1.763332);
    PlayerTextDrawAlignment(playerid, TutorialHUDP3[playerid], 1);
    PlayerTextDrawColor(playerid, TutorialHUDP3[playerid], -1);
    PlayerTextDrawSetShadow(playerid, TutorialHUDP3[playerid], 0);
    PlayerTextDrawSetOutline(playerid, TutorialHUDP3[playerid], 1);
    PlayerTextDrawBackgroundColor(playerid, TutorialHUDP3[playerid], 51);
    PlayerTextDrawFont(playerid, TutorialHUDP3[playerid], 1);
    PlayerTextDrawSetProportional(playerid, TutorialHUDP3[playerid], 1);



    TutorialHUD0 = TextDrawCreate(537.051391, 166.000061, "usebox");
    TextDrawLetterSize(TutorialHUD0, 0.000000, 15.443513);
    TextDrawTextSize(TutorialHUD0, 139.493408, 0.000000);
    TextDrawAlignment(TutorialHUD0, 1);
    TextDrawColor(TutorialHUD0, 0);
    TextDrawUseBox(TutorialHUD0, true);
    TextDrawBoxColor(TutorialHUD0, -1734830065);
    TextDrawSetShadow(TutorialHUD0, 0);
    TextDrawSetOutline(TutorialHUD0, 0);
    TextDrawFont(TutorialHUD0, 1);

    TutorialHUD1 = TextDrawCreate(535.708496, 168.166763, "usebox");
    TextDrawLetterSize(TutorialHUD1, 0.000000, 14.740732);
    TextDrawTextSize(TutorialHUD1, 141.836013, 0.000000);
    TextDrawAlignment(TutorialHUD1, 1);
    TextDrawColor(TutorialHUD1, 0);
    TextDrawUseBox(TutorialHUD1, true);
    TextDrawBoxColor(TutorialHUD1, 90);
    TextDrawSetShadow(TutorialHUD1, 0);
    TextDrawSetOutline(TutorialHUD1, 0);
    TextDrawFont(TutorialHUD1, 1);

    TutorialHUD2 = TextDrawCreate(427.291381, 150.500000, "LD_CHAT:thumbup");
    TextDrawLetterSize(TutorialHUD2, 0.000000, 0.000000);
    TextDrawTextSize(TutorialHUD2, 17.803802, 19.833324);
    TextDrawAlignment(TutorialHUD2, 1);
    TextDrawColor(TutorialHUD2, -1);
    TextDrawSetShadow(TutorialHUD2, 0);
    TextDrawSetOutline(TutorialHUD2, 0);
    TextDrawFont(TutorialHUD2, 4);



Re: Textdraws box for information - thaKing - 08.08.2015

This is just a simple textdraw, everyone can make it by himself. Anyway, another thing, if you're from England, why do you use Romanian text in textdraw?


Re: Textdraws box for information - zT KiNgKoNg - 08.08.2015

Quote:
Originally Posted by runcis
Посмотреть сообщение
This is just a simple textdraw, everyone can make it by himself. Anyway, another thing, if you're from England, why do you use Romanian text in textdraw?
Yes, but at-least this saves someone a little bit of time doing it on their own; After-all this is what the community is about, sharing, caring and over-all helping.


OT: Well-done and a nice release; Something that actually helps someone get something done (I haven't seen allot of decent topics lately); I've also Repped you for the work.