ALL textdraw in GAMEMODE
Cas = TextDrawCreate(551.2,29,"00:00");
TextDrawLetterSize(Cas,0.55,2);
TextDrawFont(Cas,3);
TextDrawSetOutline(Cas,2);
Real = TextDrawCreate(610,29,"00:00");
Kalendar = TextDrawCreate(543,19,"~r~Po ~b~Ut St Ct Pa So Ne");
TextDrawAlignment(Real,0);
TextDrawAlignment(Kalendar,0);
TextDrawBackgroundColor(Real,0x000000ff);
TextDrawBackgroundColor(Kalendar,0x000000ff);
TextDrawLetterSize(Real,0.299999,1.000000);
TextDrawLetterSize(Kalendar,0.199999,1.000000);
TextDrawFont(Real,1);
TextDrawFont(Kalendar,2);
TextDrawColor(Real,0xffffffff);
TextDrawColor(Kalendar,0xffffffff);
TextDrawSetOutline(Real,1);
TextDrawSetOutline(Kalendar,1);
Chat[0] = TextDrawCreate(610,335," ");
Chat[1] = TextDrawCreate(610,325," ");
Chat[2] = TextDrawCreate(610,315," ");
Chat[3] = TextDrawCreate(610,305," ");
Chat[4] = TextDrawCreate(610,295," ");
for(new p;p<5;p++)
{
TextDrawAlignment(Chat[p],3);
TextDrawFont(Chat[p],2);
TextDrawLetterSize(Chat[p],0.2,0.9);
TextDrawSetOutline(Chat[p],1);
TextDrawSetProportional(Chat[p],1);
TextDrawSetShadow(Chat[p],1);
}
AnketaTxt = TextDrawCreate(23,320," ");//90
TextDrawAlignment(AnketaTxt,0);
TextDrawBackgroundColor(AnketaTxt,0x000000FF);
TextDrawFont(AnketaTxt,2);
TextDrawLetterSize(AnketaTxt,0.2,0.9);
TextDrawColor(AnketaTxt,BARVA_BILA);
TextDrawSetOutline(AnketaTxt,1);
TextDrawSetProportional(AnketaTxt,1);
TextDrawSetShadow(AnketaTxt,1);
Textdraw0 = TextDrawCreate(194,106,"~n~Vitejte v Realne Zemi");
Textdraw1 = TextDrawCreate(385,135,"~n~~n~~n~~r~Vytvoril: ATomas");
Textdraw2 = TextDrawCreate(332,437,"www.superparba.xel.cz");
TextDrawAlignment(Textdraw0,0);
TextDrawAlignment(Textdraw1,0);
TextDrawAlignment(Textdraw2,0);
TextDrawBackgroundColor(Textdraw0,0x000000ff);
TextDrawBackgroundColor(Textdraw1,0x000000ff);
TextDrawBackgroundColor(Textdraw2,0x000000ff);
TextDrawFont(Textdraw0,0);
TextDrawLetterSize(Textdraw0,1,3.1);
TextDrawFont(Textdraw1,2);
TextDrawLetterSize(Textdraw1,0.2,1);
TextDrawFont(Textdraw2,3);
TextDrawLetterSize(Textdraw2,0.7,1);
TextDrawColor(Textdraw0,0xffffffff);
TextDrawColor(Textdraw1,0xffffffff);
TextDrawColor(Textdraw2,0xffffffff);
TextDrawSetOutline(Textdraw0,1);
TextDrawSetOutline(Textdraw1,1);
TextDrawSetOutline(Textdraw2,1);
TextDrawSetProportional(Textdraw0,1);
TextDrawSetProportional(Textdraw1,1);
TextDrawSetProportional(Textdraw2,1);
TextDrawSetShadow(Textdraw0,1);
TextDrawSetShadow(Textdraw1,1);
TextDrawSetShadow(Textdraw2,1);
NovinyCerna1 = TextDrawCreate(1,1,"_");
NovinyCerna2 = TextDrawCreate(-1,311,"_");
NovinyCerna3 = TextDrawCreate(1,141,"_");
NovinyCerna4 = TextDrawCreate(443,141,"_");
TextDrawUseBox(NovinyCerna1,1);
TextDrawBoxColor(NovinyCerna1,BARVA_SEDA);
TextDrawTextSize(NovinyCerna1,638,0);
TextDrawUseBox(NovinyCerna2,1);
TextDrawBoxColor(NovinyCerna2,BARVA_SEDA);
TextDrawTextSize(NovinyCerna2,638,0);
TextDrawUseBox(NovinyCerna3,1);
TextDrawBoxColor(NovinyCerna3,BARVA_SEDA);
TextDrawTextSize(NovinyCerna3,197,0);
TextDrawUseBox(NovinyCerna4,1);
TextDrawBoxColor(NovinyCerna4,BARVA_SEDA);
TextDrawTextSize(NovinyCerna4,638,-1);
TextDrawAlignment(NovinyCerna1,0);
TextDrawAlignment(NovinyCerna2,0);
TextDrawAlignment(NovinyCerna3,0);
TextDrawAlignment(NovinyCerna4,0);
TextDrawBackgroundColor(NovinyCerna1,0x000000ff);
TextDrawBackgroundColor(NovinyCerna2,0x000000ff);
TextDrawBackgroundColor(NovinyCerna3,0x000000ff);
TextDrawBackgroundColor(NovinyCerna4,0x000000ff);
TextDrawFont(NovinyCerna1,3);
TextDrawLetterSize(NovinyCerna1,1.1,15);
TextDrawFont(NovinyCerna2,3);
TextDrawLetterSize(NovinyCerna2,1,15);
TextDrawFont(NovinyCerna3,3);
TextDrawLetterSize(NovinyCerna3,1,18.5);
TextDrawFont(NovinyCerna4,3);
TextDrawLetterSize(NovinyCerna4,0.2,18.5);
TextDrawColor(NovinyCerna1,0xffffffff);
TextDrawColor(NovinyCerna2,0xffffffff);
TextDrawColor(NovinyCerna3,0xffffffff);
TextDrawColor(NovinyCerna4,0xffffffff);
TextDrawSetOutline(NovinyCerna1,1);
TextDrawSetOutline(NovinyCerna2,1);
TextDrawSetOutline(NovinyCerna3,1);
TextDrawSetOutline(NovinyCerna4,1);
TextDrawSetProportional(NovinyCerna1,1);
TextDrawSetProportional(NovinyCerna2,1);
TextDrawSetProportional(NovinyCerna3,1);
TextDrawSetProportional(NovinyCerna4,1);
TextDrawSetShadow(NovinyCerna1,1);
TextDrawSetShadow(NovinyCerna2,1);
TextDrawSetShadow(NovinyCerna3,1);
TextDrawSetShadow(NovinyCerna4,1);
NovinyNadpis = TextDrawCreate(215,41,"Nadpis");
NovinyClanek1 = TextDrawCreate(12,134,"Sprava z prava");
NovinyClanek2 = TextDrawCreate(506,134,"Sprava z prava");
TextDrawTextSize(NovinyClanek1,197,0);
TextDrawTextSize(NovinyClanek2,638,-1);
TextDrawAlignment(NovinyNadpis,2);
TextDrawAlignment(NovinyClanek1,0);
TextDrawAlignment(NovinyClanek2,0);
TextDrawBackgroundColor(NovinyNadpis,0x000000ff);
TextDrawBackgroundColor(NovinyClanek1,0x000000ff);
TextDrawBackgroundColor(NovinyClanek2,0x000000ff);
TextDrawFont(NovinyNadpis,2);
TextDrawLetterSize(NovinyNadpis,1,2.5);
TextDrawFont(NovinyClanek1,2);
TextDrawLetterSize(NovinyClanek1,0.2,1);
TextDrawFont(NovinyClanek2,2);
TextDrawLetterSize(NovinyClanek2,0.2,1);
TextDrawColor(NovinyNadpis,0xffffffff);
TextDrawColor(NovinyClanek1,0xffffffff);
TextDrawColor(NovinyClanek2,0xffffffff);
TextDrawSetOutline(NovinyNadpis,1);
TextDrawSetOutline(NovinyClanek1,1);
TextDrawSetOutline(NovinyClanek2,1);
TextDrawSetProportional(NovinyNadpis,1);
TextDrawSetProportional(NovinyClanek1,1);
TextDrawSetProportional(NovinyClanek2,1);
TextDrawSetShadow(NovinyNadpis,1);
TextDrawSetShadow(NovinyClanek1,1);
TextDrawSetShadow(NovinyClanek2,1);
CernePozadi = TextDrawCreate(501,356,"_");
TextDrawUseBox(CernePozadi,1);
TextDrawBoxColor(CernePozadi,0x00000066);
TextDrawTextSize(CernePozadi,613,0);
TextDrawAlignment(CernePozadi,0);
TextDrawBackgroundColor(CernePozadi,0x000000ff);
TextDrawFont(CernePozadi,3);
TextDrawLetterSize(CernePozadi,1,7.599997);
TextDrawColor(CernePozadi,0xffffffff);
TextDrawSetOutline(CernePozadi,1);
TextDrawSetProportional(CernePozadi,1);
TextDrawSetShadow(CernePozadi,1);
BilePozadi = TextDrawCreate(503,357,"_");
TextDrawUseBox(BilePozadi,1);
TextDrawBoxColor(BilePozadi,0xffffff33);
TextDrawTextSize(BilePozadi,611,-1);
TextDrawAlignment(BilePozadi,0);
TextDrawBackgroundColor(BilePozadi,0x000000ff);
TextDrawFont(BilePozadi,3);
TextDrawLetterSize(BilePozadi,1,7.299999);
TextDrawColor(BilePozadi,0xffffffff);
TextDrawSetOutline(BilePozadi,1);
TextDrawSetProportional(BilePozadi,1);
TextDrawSetShadow(BilePozadi,1);
CernyZivot = TextDrawCreate(507,385,"_");
TextDrawUseBox(CernyZivot,1);
TextDrawBoxColor(CernyZivot,0x00000099);
TextDrawTextSize(CernyZivot,605,0);
TextDrawAlignment(CernyZivot,0);
TextDrawBackgroundColor(CernyZivot,0x000000ff);
TextDrawFont(CernyZivot,3);
TextDrawLetterSize(CernyZivot,0.799999,0.399999);
TextDrawColor(CernyZivot,0xffffffff);
TextDrawSetOutline(CernyZivot,1);
TextDrawSetProportional(CernyZivot,1);
TextDrawSetShadow(CernyZivot,1);
CernePalivo = TextDrawCreate(507,401,"_");
TextDrawUseBox(CernePalivo,1);
TextDrawBoxColor(CernePalivo,0x00000099);
TextDrawTextSize(CernePalivo,605,0);
TextDrawAlignment(CernePalivo,0);
TextDrawBackgroundColor(CernePalivo,0x000000ff);
TextDrawFont(CernePalivo,3);
TextDrawLetterSize(CernePalivo,0.899999,0.399999);
TextDrawColor(CernePalivo,0xffffffff);
TextDrawSetOutline(CernePalivo,1);
TextDrawSetProportional(CernePalivo,1);
TextDrawSetShadow(CernePalivo,1);
HraniceZniceni = TextDrawCreate(531,382,"l");
TextDrawAlignment(HraniceZniceni,0);
TextDrawBackgroundColor(HraniceZniceni,0x000000ff) ;
TextDrawFont(HraniceZniceni,1);
TextDrawLetterSize(HraniceZniceni,0.099999,1);
TextDrawColor(HraniceZniceni,0xffffffff);
TextDrawSetOutline(HraniceZniceni,1);
TextDrawSetProportional(HraniceZniceni,1);
TextDrawSetShadow(HraniceZniceni,1);
for(new i;i<MAX_PLAYERS_EX;i++)
{
CervenyZivot[i] = TextDrawCreate(508,386,"_");
TextDrawUseBox(CervenyZivot[i],1);
TextDrawBoxColor(CervenyZivot[i],BARVA_CERVENA);
TextDrawTextSize(CervenyZivot[i],584,-1);
TextDrawAlignment(CervenyZivot[i],0);
TextDrawBackgroundColor(CervenyZivot[i],0x000000ff);
TextDrawFont(CervenyZivot[i],3);
TextDrawLetterSize(CervenyZivot[i],1,0.199999);
TextDrawColor(CervenyZivot[i],0xffffffff);
TextDrawSetOutline(CervenyZivot[i],1);
TextDrawSetProportional(CervenyZivot[i],1);
TextDrawSetShadow(CervenyZivot[i],1);
ModrePalivo[i] = TextDrawCreate(508,402,"_");
TextDrawUseBox(ModrePalivo[i],1);
TextDrawBoxColor(ModrePalivo[i],BARVA_MODRA);
TextDrawTextSize(ModrePalivo[i],604,0);
TextDrawAlignment(ModrePalivo[i],0);
TextDrawBackgroundColor(ModrePalivo[i],0x000000ff);
TextDrawFont(ModrePalivo[i],3);
TextDrawLetterSize(ModrePalivo[i],0.899999,0.199999);
TextDrawColor(ModrePalivo[i],0xffffffff);
TextDrawSetOutline(ModrePalivo[i],1);
TextDrawSetProportional(ModrePalivo[i],1);
TextDrawSetShadow(ModrePalivo[i],1);
TachometrText[i] = TextDrawCreate(505,358,"NACITA SE");
TextDrawAlignment(TachometrText[i],0);
TextDrawBackgroundColor(TachometrText[i],0x000000ff);
TextDrawFont(TachometrText[i],2);
TextDrawLetterSize(TachometrText[i],0.199999,0.899999);
TextDrawColor(TachometrText[i],0xffffffff);
TextDrawSetOutline(TachometrText[i],1);
TextDrawSetProportional(TachometrText[i],1);
TextDrawSetShadow(TachometrText[i],1);
//infobox
TextInfo[i] = TextDrawCreate(20,120,"ERROR");
TextDrawUseBox(TextInfo[i],1);
TextDrawBoxColor(TextInfo[i],0x00000080);
TextDrawTextSize(TextInfo[i],150,40);
TextCas[i] = TextDrawCreate(606,209,"00:00");
TextDrawAlignment(TextCas[i],3);
TextDrawBackgroundColor(TextCas[i],0x0000ff99);
TextDrawFont(TextCas[i],2);
TextDrawLetterSize(TextCas[i],0.4,1.
;
TextDrawColor(TextCas[i],0xffffffff);
TextDrawSetOutline(TextCas[i],1);
TextDrawSetProportional(TextCas[i],1);
TextDrawSetShadow(TextCas[i],1);
}
kour = TextDrawCreate(2.000000,-1.000000,"_");
TextDrawUseBox(kour,1);
TextDrawBoxColor(kour,0xffffff66);
TextDrawTextSize(kour,639.000000,-12.000000);
TextDrawAlignment(kour,0);
TextDrawBackgroundColor(kour,0x000000ff);
TextDrawFont(kour,3);
TextDrawLetterSize(kour,1.000000,49.799964);
TextDrawColor(kour,0xffffffff);
TextDrawSetOutline(kour,1);
TextDrawSetProportional(kour,1);
TextDrawSetShadow(kour,1);