Guest User

Vehicle TextDraw Filipow

a guest
Jul 14th, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.17 KB | None | 0 0
  1. //Global TextDraws:
  2.  
  3.  
  4. new Text:TDEditor_TD[11];
  5.  
  6. TDEditor_TD[0] = TextDrawCreate(261.999938, 132.257812, "Avtomobil~n~");
  7. TextDrawLetterSize(TDEditor_TD[0], 0.400000, 1.600000);
  8. TextDrawAlignment(TDEditor_TD[0], 1);
  9. TextDrawColor(TDEditor_TD[0], -1);
  10. TextDrawSetShadow(TDEditor_TD[0], 0);
  11. TextDrawSetOutline(TDEditor_TD[0], 0);
  12. TextDrawBackgroundColor(TDEditor_TD[0], 255);
  13. TextDrawFont(TDEditor_TD[0], 2);
  14. TextDrawSetProportional(TDEditor_TD[0], 1);
  15. TextDrawSetShadow(TDEditor_TD[0], 0);
  16.  
  17. TDEditor_TD[1] = TextDrawCreate(251.800018, 125.631134, "LD_SPAC:white");
  18. TextDrawLetterSize(TDEditor_TD[1], 0.000000, 0.000000);
  19. TextDrawTextSize(TDEditor_TD[1], 114.000000, 179.000000);
  20. TextDrawAlignment(TDEditor_TD[1], 1);
  21. TextDrawColor(TDEditor_TD[1], 65535);
  22. TextDrawSetShadow(TDEditor_TD[1], 0);
  23. TextDrawSetOutline(TDEditor_TD[1], 0);
  24. TextDrawBackgroundColor(TDEditor_TD[1], 255);
  25. TextDrawFont(TDEditor_TD[1], 4);
  26. TextDrawSetProportional(TDEditor_TD[1], 0);
  27. TextDrawSetShadow(TDEditor_TD[1], 0);
  28.  
  29. TDEditor_TD[2] = TextDrawCreate(278.600067, 136.084457, "");
  30. TextDrawLetterSize(TDEditor_TD[2], 0.000000, 0.000000);
  31. TextDrawTextSize(TDEditor_TD[2], 57.000000, 43.000000);
  32. TextDrawAlignment(TDEditor_TD[2], 1);
  33. TextDrawColor(TDEditor_TD[2], -1);
  34. TextDrawSetShadow(TDEditor_TD[2], 0);
  35. TextDrawSetOutline(TDEditor_TD[2], 0);
  36. TextDrawBackgroundColor(TDEditor_TD[2], 65535);
  37. TextDrawFont(TDEditor_TD[2], 5);
  38. TextDrawSetProportional(TDEditor_TD[2], 0);
  39. TextDrawSetShadow(TDEditor_TD[2], 0);
  40. TextDrawSetPreviewModel(TDEditor_TD[2], 411);
  41. TextDrawSetPreviewRot(TDEditor_TD[2], 0.000000, 0.000000, 90.000000, 1.000000);
  42. TextDrawSetPreviewVehCol(TDEditor_TD[2], 1, 1);
  43.  
  44. TDEditor_TD[3] = TextDrawCreate(260.200042, 147.533355, "LD_SPAC:white");
  45. TextDrawLetterSize(TDEditor_TD[3], 0.000000, 0.000000);
  46. TextDrawTextSize(TDEditor_TD[3], 98.000000, -1.000000);
  47. TextDrawAlignment(TDEditor_TD[3], 1);
  48. TextDrawColor(TDEditor_TD[3], 255);
  49. TextDrawSetShadow(TDEditor_TD[3], 0);
  50. TextDrawSetOutline(TDEditor_TD[3], 0);
  51. TextDrawBackgroundColor(TDEditor_TD[3], 255);
  52. TextDrawFont(TDEditor_TD[3], 4);
  53. TextDrawSetProportional(TDEditor_TD[3], 0);
  54. TextDrawSetShadow(TDEditor_TD[3], 0);
  55.  
  56. TDEditor_TD[4] = TextDrawCreate(263.799987, 172.422225, "LD_SPAC:white");
  57. TextDrawLetterSize(TDEditor_TD[4], 0.000000, 0.000000);
  58. TextDrawTextSize(TDEditor_TD[4], 88.000000, 14.000000);
  59. TextDrawAlignment(TDEditor_TD[4], 1);
  60. TextDrawColor(TDEditor_TD[4], 255);
  61. TextDrawSetShadow(TDEditor_TD[4], 0);
  62. TextDrawSetOutline(TDEditor_TD[4], 0);
  63. TextDrawBackgroundColor(TDEditor_TD[4], 255);
  64. TextDrawFont(TDEditor_TD[4], 4);
  65. TextDrawSetProportional(TDEditor_TD[4], 0);
  66. TextDrawSetShadow(TDEditor_TD[4], 0);
  67.  
  68. TDEditor_TD[5] = TextDrawCreate(264.200012, 193.826599, "LD_SPAC:white");
  69. TextDrawLetterSize(TDEditor_TD[5], 0.000000, 0.000000);
  70. TextDrawTextSize(TDEditor_TD[5], 88.000000, 14.000000);
  71. TextDrawAlignment(TDEditor_TD[5], 1);
  72. TextDrawColor(TDEditor_TD[5], 255);
  73. TextDrawSetShadow(TDEditor_TD[5], 0);
  74. TextDrawSetOutline(TDEditor_TD[5], 0);
  75. TextDrawBackgroundColor(TDEditor_TD[5], 255);
  76. TextDrawFont(TDEditor_TD[5], 4);
  77. TextDrawSetProportional(TDEditor_TD[5], 0);
  78. TextDrawSetShadow(TDEditor_TD[5], 0);
  79.  
  80. TDEditor_TD[6] = TextDrawCreate(264.200012, 214.733215, "LD_SPAC:white");
  81. TextDrawLetterSize(TDEditor_TD[6], 0.000000, 0.000000);
  82. TextDrawTextSize(TDEditor_TD[6], 88.000000, 14.000000);
  83. TextDrawAlignment(TDEditor_TD[6], 1);
  84. TextDrawColor(TDEditor_TD[6], 255);
  85. TextDrawSetShadow(TDEditor_TD[6], 0);
  86. TextDrawSetOutline(TDEditor_TD[6], 0);
  87. TextDrawBackgroundColor(TDEditor_TD[6], 255);
  88. TextDrawFont(TDEditor_TD[6], 4);
  89. TextDrawSetProportional(TDEditor_TD[6], 0);
  90. TextDrawSetShadow(TDEditor_TD[6], 0);
  91.  
  92. TDEditor_TD[7] = TextDrawCreate(264.600006, 237.133148, "LD_SPAC:white");
  93. TextDrawLetterSize(TDEditor_TD[7], 0.000000, 0.000000);
  94. TextDrawTextSize(TDEditor_TD[7], 88.000000, 14.000000);
  95. TextDrawAlignment(TDEditor_TD[7], 1);
  96. TextDrawColor(TDEditor_TD[7], 255);
  97. TextDrawSetShadow(TDEditor_TD[7], 0);
  98. TextDrawSetOutline(TDEditor_TD[7], 0);
  99. TextDrawBackgroundColor(TDEditor_TD[7], 255);
  100. TextDrawFont(TDEditor_TD[7], 4);
  101. TextDrawSetProportional(TDEditor_TD[7], 0);
  102. TextDrawSetShadow(TDEditor_TD[7], 0);
  103.  
  104. TDEditor_TD[8] = TextDrawCreate(265.000000, 258.039886, "LD_SPAC:white");
  105. TextDrawLetterSize(TDEditor_TD[8], 0.000000, 0.000000);
  106. TextDrawTextSize(TDEditor_TD[8], 88.000000, 14.000000);
  107. TextDrawAlignment(TDEditor_TD[8], 1);
  108. TextDrawColor(TDEditor_TD[8], 255);
  109. TextDrawSetShadow(TDEditor_TD[8], 0);
  110. TextDrawSetOutline(TDEditor_TD[8], 0);
  111. TextDrawBackgroundColor(TDEditor_TD[8], 255);
  112. TextDrawFont(TDEditor_TD[8], 4);
  113. TextDrawSetProportional(TDEditor_TD[8], 0);
  114. TextDrawSetShadow(TDEditor_TD[8], 0);
  115.  
  116. TDEditor_TD[9] = TextDrawCreate(265.400054, 277.950897, "LD_SPAC:white");
  117. TextDrawLetterSize(TDEditor_TD[9], 0.000000, 0.000000);
  118. TextDrawTextSize(TDEditor_TD[9], 88.000000, 14.000000);
  119. TextDrawAlignment(TDEditor_TD[9], 1);
  120. TextDrawColor(TDEditor_TD[9], 255);
  121. TextDrawSetShadow(TDEditor_TD[9], 0);
  122. TextDrawSetOutline(TDEditor_TD[9], 0);
  123. TextDrawBackgroundColor(TDEditor_TD[9], 255);
  124. TextDrawFont(TDEditor_TD[9], 4);
  125. TextDrawSetProportional(TDEditor_TD[9], 0);
  126. TextDrawSetShadow(TDEditor_TD[9], 0);
  127.  
  128. TDEditor_TD[10] = TextDrawCreate(264.600067, 304.333038, "LD_SPAC:white");
  129. TextDrawLetterSize(TDEditor_TD[10], 0.000000, 0.000000);
  130. TextDrawTextSize(TDEditor_TD[10], 88.000000, 14.000000);
  131. TextDrawAlignment(TDEditor_TD[10], 1);
  132. TextDrawColor(TDEditor_TD[10], 255);
  133. TextDrawSetShadow(TDEditor_TD[10], 0);
  134. TextDrawSetOutline(TDEditor_TD[10], 0);
  135. TextDrawBackgroundColor(TDEditor_TD[10], 255);
  136. TextDrawFont(TDEditor_TD[10], 4);
  137. TextDrawSetProportional(TDEditor_TD[10], 0);
  138. TextDrawSetShadow(TDEditor_TD[10], 0);
  139.  
  140.  
  141.  
  142. //Player TextDraws:
  143.  
  144.  
  145. new PlayerText:TDEditor_PTD[MAX_PLAYERS][7];
  146.  
  147. TDEditor_PTD[playerid][0] = CreatePlayerTextDraw(playerid, 309.199890, 171.582244, "otkluci/zakluci");
  148. PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][0], 0.202799, 1.405866);
  149. PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][0], 2);
  150. PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][0], -1);
  151. PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0);
  152. PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][0], 0);
  153. PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][0], 255);
  154. PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][0], 2);
  155. PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][0], 1);
  156. PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0);
  157. PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][0], true);
  158.  
  159. TDEditor_PTD[playerid][1] = CreatePlayerTextDraw(playerid, 307.599731, 192.488845, "parkiraj");
  160. PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][1], 0.202799, 1.405866);
  161. PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][1], 2);
  162. PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][1], -1);
  163. PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][1], 0);
  164. PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][1], 0);
  165. PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][1], 255);
  166. PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][1], 2);
  167. PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][1], 1);
  168. PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][1], 0);
  169. PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][1], true);
  170.  
  171. TDEditor_PTD[playerid][2] = CreatePlayerTextDraw(playerid, 308.799896, 213.893234, "prodadi_na_drzava");
  172. PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][2], 0.202799, 1.405866);
  173. PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][2], 2);
  174. PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][2], -1);
  175. PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][2], 0);
  176. PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][2], 0);
  177. PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][2], 255);
  178. PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][2], 2);
  179. PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][2], 1);
  180. PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][2], 0);
  181. PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][2], true);
  182.  
  183. TDEditor_PTD[playerid][3] = CreatePlayerTextDraw(playerid, 308.799926, 236.790924, "prodadi_na_igrac");
  184. PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][3], 0.202799, 1.405866);
  185. PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][3], 2);
  186. PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][3], -1);
  187. PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][3], 0);
  188. PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][3], 0);
  189. PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][3], 255);
  190. PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][3], 2);
  191. PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][3], 1);
  192. PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][3], 0);
  193. PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][3], true);
  194.  
  195. TDEditor_PTD[playerid][4] = CreatePlayerTextDraw(playerid, 307.999786, 257.199768, "prefarbaj");
  196. PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][4], 0.202799, 1.405866);
  197. PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][4], 2);
  198. PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][4], -1);
  199. PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][4], 0);
  200. PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][4], 0);
  201. PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][4], 255);
  202. PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][4], 2);
  203. PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][4], 1);
  204. PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][4], 0);
  205. PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][4], true);
  206.  
  207. TDEditor_PTD[playerid][5] = CreatePlayerTextDraw(playerid, 307.199890, 277.110961, "rgistracija");
  208. PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][5], 0.202799, 1.405866);
  209. PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][5], 2);
  210. PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][5], -1);
  211. PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][5], 0);
  212. PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][5], 0);
  213. PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][5], 255);
  214. PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][5], 2);
  215. PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][5], 1);
  216. PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][5], 0);
  217. PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][5], true);
  218.  
  219. TDEditor_PTD[playerid][6] = CreatePlayerTextDraw(playerid, 308.799896, 302.497528, "iskluci");
  220. PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][6], 0.202799, 1.405866);
  221. PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][6], 2);
  222. PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][6], -1);
  223. PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][6], 0);
  224. PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][6], 0);
  225. PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][6], 255);
  226. PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][6], 2);
  227. PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][6], 1);
  228. PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][6], 0);
  229. PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][6], true);
Advertisement
Add Comment
Please, Sign In to add comment