Advertisement
Guest User

Untitled

a guest
Feb 16th, 2020
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 7.74 KB | None | 0 0
  1. new PlayerText:TDEditor_PTD[MAX_PLAYERS][5];
  2.  
  3. new Text:TDEditor_TD[9];
  4.  
  5.     // GLOBAL TDOVI
  6.  
  7.     TDEditor_TD[0] = TextDrawCreate(503.400482, 429.148620, "box");
  8.     TextDrawLetterSize(TDEditor_TD[0], 0.000000, -8.499992);
  9.     TextDrawTextSize(TDEditor_TD[0], 636.000000, 0.000000);
  10.     TextDrawAlignment(TDEditor_TD[0], 1);
  11.     TextDrawColor(TDEditor_TD[0], -1);
  12.     TextDrawUseBox(TDEditor_TD[0], 1);
  13.     TextDrawBoxColor(TDEditor_TD[0], 269488328);
  14.     TextDrawSetShadow(TDEditor_TD[0], 0);
  15.     TextDrawBackgroundColor(TDEditor_TD[0], 255);
  16.     TextDrawFont(TDEditor_TD[0], 1);
  17.     TextDrawSetProportional(TDEditor_TD[0], 0);
  18.  
  19.     TDEditor_TD[1] = TextDrawCreate(489.666381, 349.992248, "particle:lamp_shad_64");
  20.     TextDrawTextSize(TDEditor_TD[1], 150.000000, 77.000000);
  21.     TextDrawAlignment(TDEditor_TD[1], 1);
  22.     TextDrawColor(TDEditor_TD[1], 846571545);
  23.     TextDrawSetShadow(TDEditor_TD[1], 0);
  24.     TextDrawBackgroundColor(TDEditor_TD[1], 255);
  25.     TextDrawFont(TDEditor_TD[1], 4);
  26.     TextDrawSetProportional(TDEditor_TD[1], 0);
  27.  
  28.     TDEditor_TD[2] = TextDrawCreate(575.933898, 419.217529, "box");
  29.     TextDrawLetterSize(TDEditor_TD[2], 0.000000, -2.799997);
  30.     TextDrawTextSize(TDEditor_TD[2], 627.800048, 0.000000);
  31.     TextDrawAlignment(TDEditor_TD[2], 1);
  32.     TextDrawColor(TDEditor_TD[2], -1);
  33.     TextDrawUseBox(TDEditor_TD[2], 1);
  34.     TextDrawBoxColor(TDEditor_TD[2], 168430130);
  35.     TextDrawSetShadow(TDEditor_TD[2], 0);
  36.     TextDrawBackgroundColor(TDEditor_TD[2], 255);
  37.     TextDrawFont(TDEditor_TD[2], 1);
  38.     TextDrawSetProportional(TDEditor_TD[2], 0);
  39.  
  40.     TDEditor_TD[3] = TextDrawCreate(615.866638, 401.250427, "liters~n~remaining");
  41.     TextDrawLetterSize(TDEditor_TD[3], 0.088333, 0.589334);
  42.     TextDrawAlignment(TDEditor_TD[3], 2);
  43.     TextDrawColor(TDEditor_TD[3], 744929535);
  44.     TextDrawSetShadow(TDEditor_TD[3], 0);
  45.     TextDrawBackgroundColor(TDEditor_TD[3], 255);
  46.     TextDrawFont(TDEditor_TD[3], 2);
  47.     TextDrawSetProportional(TDEditor_TD[3], 1);
  48.  
  49.     TDEditor_TD[4] = TextDrawCreate(575.933898, 388.559509, "box");
  50.     TextDrawLetterSize(TDEditor_TD[4], 0.000000, -2.799997);
  51.     TextDrawTextSize(TDEditor_TD[4], 627.800048, 0.000000);
  52.     TextDrawAlignment(TDEditor_TD[4], 1);
  53.     TextDrawColor(TDEditor_TD[4], -1);
  54.     TextDrawUseBox(TDEditor_TD[4], 1);
  55.     TextDrawBoxColor(TDEditor_TD[4], 168430130);
  56.     TextDrawSetShadow(TDEditor_TD[4], 0);
  57.     TextDrawBackgroundColor(TDEditor_TD[4], 255);
  58.     TextDrawFont(TDEditor_TD[4], 1);
  59.     TextDrawSetProportional(TDEditor_TD[4], 0);
  60.  
  61.     TDEditor_TD[5] = TextDrawCreate(615.866821, 369.977630, "kilometers~n~per hour");
  62.     TextDrawLetterSize(TDEditor_TD[5], 0.088333, 0.589334);
  63.     TextDrawAlignment(TDEditor_TD[5], 2);
  64.     TextDrawColor(TDEditor_TD[5], 744929535);
  65.     TextDrawSetShadow(TDEditor_TD[5], 0);
  66.     TextDrawBackgroundColor(TDEditor_TD[5], 255);
  67.     TextDrawFont(TDEditor_TD[5], 2);
  68.     TextDrawSetProportional(TDEditor_TD[5], 1);
  69.  
  70.     TDEditor_TD[6] = TextDrawCreate(504.000000, 428.218353, "box");
  71.     TextDrawLetterSize(TDEditor_TD[6], 0.000000, -0.266665);
  72.     TextDrawTextSize(TDEditor_TD[6], 635.000000, 0.000000);
  73.     TextDrawAlignment(TDEditor_TD[6], 1);
  74.     TextDrawColor(TDEditor_TD[6], -181);
  75.     TextDrawUseBox(TDEditor_TD[6], 1);
  76.     TextDrawBoxColor(TDEditor_TD[6], 255);
  77.     TextDrawSetShadow(TDEditor_TD[6], 0);
  78.     TextDrawBackgroundColor(TDEditor_TD[6], 255);
  79.     TextDrawFont(TDEditor_TD[6], 1);
  80.     TextDrawSetProportional(TDEditor_TD[6], 1);
  81.  
  82.     TDEditor_TD[7] = TextDrawCreate(503.899993, 355.713928, "box");
  83.     TextDrawLetterSize(TDEditor_TD[7], 0.000000, -0.266665);
  84.     TextDrawTextSize(TDEditor_TD[7], 634.900024, 0.000000);
  85.     TextDrawAlignment(TDEditor_TD[7], 1);
  86.     TextDrawColor(TDEditor_TD[7], -181);
  87.     TextDrawUseBox(TDEditor_TD[7], 1);
  88.     TextDrawBoxColor(TDEditor_TD[7], 255);
  89.     TextDrawSetShadow(TDEditor_TD[7], 0);
  90.     TextDrawBackgroundColor(TDEditor_TD[7], 255);
  91.     TextDrawFont(TDEditor_TD[7], 1);
  92.     TextDrawSetProportional(TDEditor_TD[7], 1);
  93.  
  94.     TDEditor_TD[8] = TextDrawCreate(521.333740, 419.912384, "radio id:");
  95.     TextDrawLetterSize(TDEditor_TD[8], 0.088333, 0.589334);
  96.     TextDrawAlignment(TDEditor_TD[8], 3);
  97.     TextDrawColor(TDEditor_TD[8], 744929535);
  98.     TextDrawSetShadow(TDEditor_TD[8], 0);
  99.     TextDrawBackgroundColor(TDEditor_TD[8], 255);
  100.     TextDrawFont(TDEditor_TD[8], 2);
  101.     TextDrawSetProportional(TDEditor_TD[8], 1);
  102.  
  103.     // PLAYER TDOVI
  104.  
  105.     TDEditor_PTD[playerid][0] = CreatePlayerTextDraw(playerid, 505.666656, 354.940856, "");
  106.     PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][0], 67.000000, 67.000000);
  107.     PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][0], 1);
  108.     PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][0], -1);
  109.     PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0);
  110.     PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][0], 5);
  111.     PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][0], 0);
  112.     PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD[playerid][0], 411); // model vozila
  113.     PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][0], 0x00000000);
  114.     PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD[playerid][0], 0.000000, 0.000000, 90.000000, 1.000000);
  115.     PlayerTextDrawSetPreviewVehCol(playerid, TDEditor_PTD[playerid][0], 1, 1);
  116.  
  117.     TDEditor_PTD[playerid][1] = CreatePlayerTextDraw(playerid, 540.000244, 401.155395, "infernus"); // ime vozila
  118.     PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][1], 0.217666, 0.958518);
  119.     PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][1], 2);
  120.     PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][1], -1);
  121.     PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][1], 1);
  122.     PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][1], 255);
  123.     PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][1], 3);
  124.     PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][1], 1);
  125.  
  126.     TDEditor_PTD[playerid][2] = CreatePlayerTextDraw(playerid, 590.963928, 398.746734, "36"); // gorivo preostalo
  127.     PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][2], 0.355998, 1.510223);
  128.     PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][2], 2);
  129.     PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][2], -1);
  130.     PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][2], 1);
  131.     PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][2], 255);
  132.     PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][2], 3);
  133.     PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][2], 1);
  134.  
  135.     TDEditor_PTD[playerid][3] = CreatePlayerTextDraw(playerid, 590.064147, 368.188720, "134"); // brzina
  136.     PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][3], 0.351332, 1.477038);
  137.     PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][3], 2);
  138.     PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][3], -1);
  139.     PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][3], 1);
  140.     PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][3], 255);
  141.     PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][3], 3);
  142.     PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][3], 1);
  143.  
  144.     TDEditor_PTD[playerid][4] = CreatePlayerTextDraw(playerid, 526.333618, 419.912414, "69"); // radio id
  145.     PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][4], 0.088333, 0.589334);
  146.     PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][4], 2);
  147.     PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][4], -1);
  148.     PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][4], 0);
  149.     PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][4], 255);
  150.     PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][4], 2);
  151.     PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][4], 1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement