Advertisement
Guest User

Untitled

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