Advertisement
Guest User

Untitled

a guest
Feb 10th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.20 KB | None | 0 0
  1. // Глобальные текстдравы
  2. new Text:TD_AS[14];
  3.  
  4. TD_AS[0] = TextDrawCreate(38.0000, 273.4399, "Box"); // пусто
  5. TextDrawLetterSize(TD_AS[0], 0.0000, 9.3260);
  6. TextDrawTextSize(TD_AS[0], 234.0000, 0.0000);
  7. TextDrawAlignment(TD_AS[0], 1);
  8. TextDrawColor(TD_AS[0], -1);
  9. TextDrawUseBox(TD_AS[0], 1);
  10. TextDrawBoxColor(TD_AS[0], 96);
  11. TextDrawBackgroundColor(TD_AS[0], 255);
  12. TextDrawFont(TD_AS[0], 1);
  13. TextDrawSetProportional(TD_AS[0], 1);
  14. TextDrawSetShadow(TD_AS[0], 0);
  15.  
  16. TD_AS[1] = TextDrawCreate(38.0000, 273.7000, "Box"); // пусто
  17. TextDrawLetterSize(TD_AS[1], 0.0000, 0.5550);
  18. TextDrawTextSize(TD_AS[1], 233.6196, 0.0000);
  19. TextDrawAlignment(TD_AS[1], 1);
  20. TextDrawColor(TD_AS[1], -1);
  21. TextDrawUseBox(TD_AS[1], 1);
  22. TextDrawBoxColor(TD_AS[1], 255);
  23. TextDrawBackgroundColor(TD_AS[1], 255);
  24. TextDrawFont(TD_AS[1], 1);
  25. TextDrawSetProportional(TD_AS[1], 1);
  26. TextDrawSetShadow(TD_AS[1], 0);
  27.  
  28. TD_AS[2] = TextDrawCreate(106.6000, 272.6199, "BUYING_A_CAR"); // пусто
  29. TextDrawLetterSize(TD_AS[2], 0.2045, 0.7040);
  30. TextDrawAlignment(TD_AS[2], 1);
  31. TextDrawColor(TD_AS[2], -1);
  32. TextDrawBackgroundColor(TD_AS[2], 255);
  33. TextDrawFont(TD_AS[2], 2);
  34. TextDrawSetProportional(TD_AS[2], 1);
  35. TextDrawSetShadow(TD_AS[2], 0);
  36.  
  37. TD_AS[3] = TextDrawCreate(44.0000, 287.9999, "Vehicle_Names:"); // пусто
  38. TextDrawLetterSize(TD_AS[3], 0.2019, 0.8216);
  39. TextDrawAlignment(TD_AS[3], 1);
  40. TextDrawColor(TD_AS[3], -1);
  41. TextDrawBackgroundColor(TD_AS[3], 255);
  42. TextDrawFont(TD_AS[3], 2);
  43. TextDrawSetProportional(TD_AS[3], 1);
  44. TextDrawSetShadow(TD_AS[3], 0);
  45.  
  46. TD_AS[4] = TextDrawCreate(111.5989, 287.9999, "SULTAN"); // пусто
  47. TextDrawLetterSize(TD_AS[4], 0.2019, 0.8216);
  48. TextDrawAlignment(TD_AS[4], 1);
  49. TextDrawColor(TD_AS[4], -1);
  50. TextDrawBackgroundColor(TD_AS[4], 255);
  51. TextDrawFont(TD_AS[4], 2);
  52. TextDrawSetProportional(TD_AS[4], 1);
  53. TextDrawSetShadow(TD_AS[4], 0);
  54.  
  55. TD_AS[5] = TextDrawCreate(157.3998, 285.7199, ""); // пусто
  56. TextDrawTextSize(TD_AS[5], 73.0000, 62.0000);
  57. TextDrawAlignment(TD_AS[5], 1);
  58. TextDrawColor(TD_AS[5], -1);
  59. TextDrawBackgroundColor(TD_AS[5], 96);
  60. TextDrawFont(TD_AS[5], 5);
  61. TextDrawSetProportional(TD_AS[5], 0);
  62. TextDrawSetShadow(TD_AS[5], 0);
  63. TextDrawSetPreviewModel(TD_AS[5], 560);
  64. TextDrawSetPreviewRot(TD_AS[5], -25.0000, 0.0000, 0.0000, 1.0000);
  65. TextDrawSetPreviewVehCol(TD_AS[5], 1, 1);
  66.  
  67. TD_AS[6] = TextDrawCreate(44.8999, 297.9005, "COST:"); // пусто
  68. TextDrawLetterSize(TD_AS[6], 0.2019, 0.8216);
  69. TextDrawAlignment(TD_AS[6], 1);
  70. TextDrawColor(TD_AS[6], -1);
  71. TextDrawBackgroundColor(TD_AS[6], 255);
  72. TextDrawFont(TD_AS[6], 2);
  73. TextDrawSetProportional(TD_AS[6], 1);
  74. TextDrawSetShadow(TD_AS[6], 0);
  75.  
  76. TD_AS[7] = TextDrawCreate(72.2995, 297.9005, "750.000$"); // пусто
  77. TextDrawLetterSize(TD_AS[7], 0.2019, 0.8216);
  78. TextDrawAlignment(TD_AS[7], 1);
  79. TextDrawColor(TD_AS[7], -1);
  80. TextDrawBackgroundColor(TD_AS[7], 255);
  81. TextDrawFont(TD_AS[7], 2);
  82. TextDrawSetProportional(TD_AS[7], 1);
  83. TextDrawSetShadow(TD_AS[7], 0);
  84.  
  85. TD_AS[8] = TextDrawCreate(44.8999, 307.9011, "STYLE:"); // пусто
  86. TextDrawLetterSize(TD_AS[8], 0.2019, 0.8216);
  87. TextDrawAlignment(TD_AS[8], 1);
  88. TextDrawColor(TD_AS[8], -1);
  89. TextDrawBackgroundColor(TD_AS[8], 255);
  90. TextDrawFont(TD_AS[8], 2);
  91. TextDrawSetProportional(TD_AS[8], 1);
  92. TextDrawSetShadow(TD_AS[8], 0);
  93.  
  94. TD_AS[9] = TextDrawCreate(76.2995, 308.1011, "COMFORT"); // пусто
  95. TextDrawLetterSize(TD_AS[9], 0.2019, 0.8216);
  96. TextDrawAlignment(TD_AS[9], 1);
  97. TextDrawColor(TD_AS[9], -1);
  98. TextDrawBackgroundColor(TD_AS[9], 255);
  99. TextDrawFont(TD_AS[9], 2);
  100. TextDrawSetProportional(TD_AS[9], 1);
  101. TextDrawSetShadow(TD_AS[9], 0);
  102.  
  103. TD_AS[10] = TextDrawCreate(58.2999, 339.4801, "BACK_CAR"); // пусто
  104. TextDrawLetterSize(TD_AS[10], 0.1690, 0.9840);
  105. TextDrawAlignment(TD_AS[10], 1);
  106. TextDrawColor(TD_AS[10], -1);
  107. TextDrawBackgroundColor(TD_AS[10], 255);
  108. TextDrawFont(TD_AS[10], 2);
  109. TextDrawSetProportional(TD_AS[10], 1);
  110. TextDrawSetShadow(TD_AS[10], 0);
  111.  
  112. TD_AS[11] = TextDrawCreate(103.3992, 339.4801, "NEXT_CAR"); // пусто
  113. TextDrawLetterSize(TD_AS[11], 0.1690, 0.9840);
  114. TextDrawAlignment(TD_AS[11], 1);
  115. TextDrawColor(TD_AS[11], -1);
  116. TextDrawBackgroundColor(TD_AS[11], 255);
  117. TextDrawFont(TD_AS[11], 2);
  118. TextDrawSetProportional(TD_AS[11], 1);
  119. TextDrawSetShadow(TD_AS[11], 0);
  120.  
  121. TD_AS[12] = TextDrawCreate(55.7999, 328.8605, "TWO_COLOR:"); // пусто
  122. TextDrawLetterSize(TD_AS[12], 0.2015, 0.7768);
  123. TextDrawAlignment(TD_AS[12], 1);
  124. TextDrawColor(TD_AS[12], -1);
  125. TextDrawBackgroundColor(TD_AS[12], 255);
  126. TextDrawFont(TD_AS[12], 2);
  127. TextDrawSetProportional(TD_AS[12], 1);
  128. TextDrawSetShadow(TD_AS[12], 0);
  129.  
  130. TD_AS[13] = TextDrawCreate(50.5000, 319.3599, "ONE_COLOR:"); // пусто
  131. TextDrawLetterSize(TD_AS[13], 0.2015, 0.7768);
  132. TextDrawAlignment(TD_AS[13], 1);
  133. TextDrawColor(TD_AS[13], -1);
  134. TextDrawBackgroundColor(TD_AS[13], 255);
  135. TextDrawFont(TD_AS[13], 2);
  136. TextDrawSetProportional(TD_AS[13], 1);
  137. TextDrawSetShadow(TD_AS[13], 0);
  138.  
  139.  
  140.  
  141. // Текстдравы для игроков
  142. new PlayerText:PTD_AS[MAX_PLAYERS][6];
  143.  
  144. PTD_AS[playerid][0] = CreatePlayerTextDraw(playerid, 222.1988, 271.4400, "LD_BEAT:cross"); // пусто
  145. PlayerTextDrawTextSize(playerid, PTD_AS[playerid][0], 10.0000, 9.0000);
  146. PlayerTextDrawAlignment(playerid, PTD_AS[playerid][0], 1);
  147. PlayerTextDrawColor(playerid, PTD_AS[playerid][0], -1);
  148. PlayerTextDrawBackgroundColor(playerid, PTD_AS[playerid][0], 255);
  149. PlayerTextDrawFont(playerid, PTD_AS[playerid][0], 4);
  150. PlayerTextDrawSetProportional(playerid, PTD_AS[playerid][0], 0);
  151. PlayerTextDrawSetShadow(playerid, PTD_AS[playerid][0], 0);
  152.  
  153. PTD_AS[playerid][1] = CreatePlayerTextDraw(playerid, 43.4006, 339.2398, "LD_BEAT:left"); // пусто
  154. PlayerTextDrawTextSize(playerid, PTD_AS[playerid][1], 11.0000, 11.0000);
  155. PlayerTextDrawAlignment(playerid, PTD_AS[playerid][1], 1);
  156. PlayerTextDrawColor(playerid, PTD_AS[playerid][1], -1);
  157. PlayerTextDrawBackgroundColor(playerid, PTD_AS[playerid][1], 255);
  158. PlayerTextDrawFont(playerid, PTD_AS[playerid][1], 4);
  159. PlayerTextDrawSetProportional(playerid, PTD_AS[playerid][1], 0);
  160. PlayerTextDrawSetShadow(playerid, PTD_AS[playerid][1], 0);
  161.  
  162. PTD_AS[playerid][2] = CreatePlayerTextDraw(playerid, 139.4000, 339.0398, "LD_BEAT:right"); // пусто
  163. PlayerTextDrawTextSize(playerid, PTD_AS[playerid][2], 11.0000, 11.0000);
  164. PlayerTextDrawAlignment(playerid, PTD_AS[playerid][2], 1);
  165. PlayerTextDrawColor(playerid, PTD_AS[playerid][2], -1);
  166. PlayerTextDrawBackgroundColor(playerid, PTD_AS[playerid][2], 255);
  167. PlayerTextDrawFont(playerid, PTD_AS[playerid][2], 4);
  168. PlayerTextDrawSetProportional(playerid, PTD_AS[playerid][2], 0);
  169. PlayerTextDrawSetShadow(playerid, PTD_AS[playerid][2], 0);
  170.  
  171. PTD_AS[playerid][3] = CreatePlayerTextDraw(playerid, 168.5000, 350.0599, "CONTINUE"); // пусто
  172. PlayerTextDrawLetterSize(playerid, PTD_AS[playerid][3], 0.2579, 0.7600);
  173. PlayerTextDrawAlignment(playerid, PTD_AS[playerid][3], 1);
  174. PlayerTextDrawColor(playerid, PTD_AS[playerid][3], -1);
  175. PlayerTextDrawBackgroundColor(playerid, PTD_AS[playerid][3], 255);
  176. PlayerTextDrawFont(playerid, PTD_AS[playerid][3], 2);
  177. PlayerTextDrawSetProportional(playerid, PTD_AS[playerid][3], 1);
  178. PlayerTextDrawSetShadow(playerid, PTD_AS[playerid][3], 0);
  179.  
  180. PTD_AS[playerid][4] = CreatePlayerTextDraw(playerid, 99.7992, 319.3599, "1"); // пусто
  181. PlayerTextDrawLetterSize(playerid, PTD_AS[playerid][4], 0.2015, 0.7768);
  182. PlayerTextDrawAlignment(playerid, PTD_AS[playerid][4], 1);
  183. PlayerTextDrawColor(playerid, PTD_AS[playerid][4], -1523963137);
  184. PlayerTextDrawBackgroundColor(playerid, PTD_AS[playerid][4], 255);
  185. PlayerTextDrawFont(playerid, PTD_AS[playerid][4], 2);
  186. PlayerTextDrawSetProportional(playerid, PTD_AS[playerid][4], 1);
  187. PlayerTextDrawSetShadow(playerid, PTD_AS[playerid][4], 0);
  188.  
  189. PTD_AS[playerid][5] = CreatePlayerTextDraw(playerid, 105.8991, 328.8605, "2"); // пусто
  190. PlayerTextDrawLetterSize(playerid, PTD_AS[playerid][5], 0.2015, 0.7768);
  191. PlayerTextDrawAlignment(playerid, PTD_AS[playerid][5], 1);
  192. PlayerTextDrawColor(playerid, PTD_AS[playerid][5], -1523963137);
  193. PlayerTextDrawBackgroundColor(playerid, PTD_AS[playerid][5], 255);
  194. PlayerTextDrawFont(playerid, PTD_AS[playerid][5], 2);
  195. PlayerTextDrawSetProportional(playerid, PTD_AS[playerid][5], 1);
  196. PlayerTextDrawSetShadow(playerid, PTD_AS[playerid][5], 0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement