Advertisement
Guest User

Untitled

a guest
May 19th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.29 KB | None | 0 0
  1. if(PlayerInfo[playerid][pInventoryKolvo][PickInvent[playerid]] >= 2)
  2. {
  3. fstd_p[playerid][6] = CreatePlayerTextDraw(playerid, 451.289215, 140.350006, "particle:shad_bike");
  4. PlayerTextDrawLetterSize(playerid, fstd_p[playerid][6], 0.480000, 1.120000);
  5. PlayerTextDrawTextSize(playerid, fstd_p[playerid][6], 10.625000, 52.000000);
  6. PlayerTextDrawAlignment(playerid, fstd_p[playerid][6], 0);
  7. PlayerTextDrawColor(playerid, fstd_p[playerid][6], 0x00000070);
  8. PlayerTextDrawUseBox(playerid, fstd_p[playerid][6], 0);
  9. PlayerTextDrawBoxColor(playerid, fstd_p[playerid][6], 0x80808080);
  10. PlayerTextDrawSetShadow(playerid, fstd_p[playerid][6], 2);
  11. PlayerTextDrawSetOutline(playerid, fstd_p[playerid][6], 0);
  12. PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][6], 0x000000FF);
  13. PlayerTextDrawFont(playerid, fstd_p[playerid][6], 4);
  14. PlayerTextDrawSetProportional(playerid, fstd_p[playerid][6], 1);
  15. PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][6], 0);
  16.  
  17. fstd_p[playerid][5] = CreatePlayerTextDraw(playerid, 493.789215, 140.350006, "particle:shad_bike");
  18. PlayerTextDrawLetterSize(playerid, fstd_p[playerid][5], 0.480000, 1.120000);
  19. PlayerTextDrawTextSize(playerid, fstd_p[playerid][5], 10.625000, 52.000000);
  20. PlayerTextDrawAlignment(playerid, fstd_p[playerid][5], 0);
  21. PlayerTextDrawColor(playerid, fstd_p[playerid][5], 0x00000070);
  22. PlayerTextDrawUseBox(playerid, fstd_p[playerid][5], 0);
  23. PlayerTextDrawBoxColor(playerid, fstd_p[playerid][5], 0x80808080);
  24. PlayerTextDrawSetShadow(playerid, fstd_p[playerid][5], 2);
  25. PlayerTextDrawSetOutline(playerid, fstd_p[playerid][5], 0);
  26. PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][5], 0x000000FF);
  27. PlayerTextDrawFont(playerid, fstd_p[playerid][5], 4);
  28. PlayerTextDrawSetProportional(playerid, fstd_p[playerid][5], 1);
  29. PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][5], 0);
  30.  
  31. fstd_p[playerid][4] = CreatePlayerTextDraw(playerid, 500.351715, 141.850006, "usebox");
  32. PlayerTextDrawLetterSize(playerid, fstd_p[playerid][4], 0.000000, 5.439200);
  33. PlayerTextDrawTextSize(playerid, fstd_p[playerid][4], 455.101715, 0.000000);
  34. PlayerTextDrawAlignment(playerid, fstd_p[playerid][4], 1);
  35. PlayerTextDrawColor(playerid, fstd_p[playerid][4], 0xE1E1E1FF);
  36. PlayerTextDrawUseBox(playerid, fstd_p[playerid][4], 1);
  37. PlayerTextDrawBoxColor(playerid, fstd_p[playerid][4], 0x000000AA);
  38. PlayerTextDrawSetShadow(playerid, fstd_p[playerid][4], 2);
  39. PlayerTextDrawSetOutline(playerid, fstd_p[playerid][4], 0);
  40. PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][4], 0x000000FF);
  41. PlayerTextDrawFont(playerid, fstd_p[playerid][4], 0);
  42. PlayerTextDrawSetProportional(playerid, fstd_p[playerid][4], 1);
  43. PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][4], 0);
  44.  
  45. fstd_p[playerid][3] = CreatePlayerTextDraw(playerid, 477.851715, 142.516678, "USE");
  46. PlayerTextDrawLetterSize(playerid, fstd_p[playerid][3], 0.159033, 0.818733);
  47. PlayerTextDrawTextSize(playerid, fstd_p[playerid][3], 7.368598, 40.375000);
  48. PlayerTextDrawAlignment(playerid, fstd_p[playerid][3], 2);
  49. PlayerTextDrawColor(playerid, fstd_p[playerid][3], 0xFFFFFFFF);
  50. PlayerTextDrawUseBox(playerid, fstd_p[playerid][3], 0);
  51. PlayerTextDrawBoxColor(playerid, fstd_p[playerid][3], 0x80808080);
  52. PlayerTextDrawSetShadow(playerid, fstd_p[playerid][3], 0);
  53. PlayerTextDrawSetOutline(playerid, fstd_p[playerid][3], 1);
  54. PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][3], 0x00000000);
  55. PlayerTextDrawFont(playerid, fstd_p[playerid][3], 1);
  56. PlayerTextDrawSetProportional(playerid, fstd_p[playerid][3], 1);
  57. PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][3], 1);
  58.  
  59. fstd_p[playerid][2] = CreatePlayerTextDraw(playerid, 477.851715, 155.516678, "SPLIT");
  60. PlayerTextDrawLetterSize(playerid, fstd_p[playerid][2], 0.154033, 0.818733);
  61. PlayerTextDrawTextSize(playerid, fstd_p[playerid][2], 7.368598, 40.375000);
  62. PlayerTextDrawAlignment(playerid, fstd_p[playerid][2], 2);
  63. PlayerTextDrawColor(playerid, fstd_p[playerid][2], 0xFFFFFFFF);
  64. PlayerTextDrawUseBox(playerid, fstd_p[playerid][2], 0);
  65. PlayerTextDrawBoxColor(playerid, fstd_p[playerid][2], 0x80808080);
  66. PlayerTextDrawSetShadow(playerid, fstd_p[playerid][2], 0);
  67. PlayerTextDrawSetOutline(playerid, fstd_p[playerid][2], 1);
  68. PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][2], 0x00000000);
  69. PlayerTextDrawFont(playerid, fstd_p[playerid][2], 1);
  70. PlayerTextDrawSetProportional(playerid, fstd_p[playerid][2], 1);
  71. PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][2], 1);
  72.  
  73. fstd_p[playerid][1] = CreatePlayerTextDraw(playerid, 477.851715, 168.516678, "INFO");
  74. PlayerTextDrawLetterSize(playerid, fstd_p[playerid][1], 0.154033, 0.818733);
  75. PlayerTextDrawTextSize(playerid, fstd_p[playerid][1], 7.368598, 40.375000);
  76. PlayerTextDrawAlignment(playerid, fstd_p[playerid][1], 2);
  77. PlayerTextDrawColor(playerid, fstd_p[playerid][1], 0xFFFFFFFF);
  78. PlayerTextDrawUseBox(playerid, fstd_p[playerid][1], 0);
  79. PlayerTextDrawBoxColor(playerid, fstd_p[playerid][1], 0x80808080);
  80. PlayerTextDrawSetShadow(playerid, fstd_p[playerid][1], 0);
  81. PlayerTextDrawSetOutline(playerid, fstd_p[playerid][1], 1);
  82. PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][1], 0x00000000);
  83. PlayerTextDrawFont(playerid, fstd_p[playerid][1], 1);
  84. PlayerTextDrawSetProportional(playerid, fstd_p[playerid][1], 1);
  85. PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][1], 1);
  86.  
  87. fstd_p[playerid][0] = CreatePlayerTextDraw(playerid, 477.851715, 181.516678, "CLOSE");
  88. PlayerTextDrawLetterSize(playerid, fstd_p[playerid][0], 0.149033, 0.818733);
  89. PlayerTextDrawTextSize(playerid, fstd_p[playerid][0], 7.368598, 40.375000);
  90. PlayerTextDrawAlignment(playerid, fstd_p[playerid][0], 2);
  91. PlayerTextDrawColor(playerid, fstd_p[playerid][0], 0xBE5555FF);
  92. PlayerTextDrawUseBox(playerid, fstd_p[playerid][0], 0);
  93. PlayerTextDrawBoxColor(playerid, fstd_p[playerid][0], 0x80808080);
  94. PlayerTextDrawSetShadow(playerid, fstd_p[playerid][0], 0);
  95. PlayerTextDrawSetOutline(playerid, fstd_p[playerid][0], 1);
  96. PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][0], 0x00000000);
  97. PlayerTextDrawFont(playerid, fstd_p[playerid][0], 1);
  98. PlayerTextDrawSetProportional(playerid, fstd_p[playerid][0], 1);
  99. PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][0], 1);
  100. PlayerPlaySound(playerid, 6801, 0.0, 0.0, 0.0), PlayerTextDrawShow(playerid, fstd_p[playerid][0]),PlayerTextDrawShow(playerid, fstd_p[playerid][2]), PlayerTextDrawShow(playerid, fstd_p[playerid][1]), PlayerTextDrawShow(playerid, fstd_p[playerid][3]); PlayerTextDrawShow(playerid, fstd_p[playerid][4]); PlayerTextDrawShow(playerid, fstd_p[playerid][5]); PlayerTextDrawShow(playerid, fstd_p[playerid][6]); // Воспроизводим звук.
  101. }
  102. else
  103. {
  104. fstd_p[playerid][5] = CreatePlayerTextDraw(playerid, 451.289215, 140.350006, "particle:shad_bike");
  105. PlayerTextDrawLetterSize(playerid, fstd_p[playerid][5], 0.480000, 1.120000);
  106. PlayerTextDrawTextSize(playerid, fstd_p[playerid][5], 10.625000, 39.000000);
  107. PlayerTextDrawAlignment(playerid, fstd_p[playerid][5], 0);
  108. PlayerTextDrawColor(playerid, fstd_p[playerid][5], 0x00000070);
  109. PlayerTextDrawUseBox(playerid, fstd_p[playerid][5], 0);
  110. PlayerTextDrawBoxColor(playerid, fstd_p[playerid][5], 0x80808080);
  111. PlayerTextDrawSetShadow(playerid, fstd_p[playerid][5], 2);
  112. PlayerTextDrawSetOutline(playerid, fstd_p[playerid][5], 0);
  113. PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][5], 0x000000FF);
  114. PlayerTextDrawFont(playerid, fstd_p[playerid][5], 4);
  115. PlayerTextDrawSetProportional(playerid, fstd_p[playerid][5], 1);
  116. PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][5], 0);
  117.  
  118. fstd_p[playerid][4] = CreatePlayerTextDraw(playerid, 493.789215, 140.350006, "particle:shad_bike");
  119. PlayerTextDrawLetterSize(playerid, fstd_p[playerid][4], 0.480000, 1.120000);
  120. PlayerTextDrawTextSize(playerid, fstd_p[playerid][4], 10.625000, 39.000000);
  121. PlayerTextDrawAlignment(playerid, fstd_p[playerid][4], 0);
  122. PlayerTextDrawColor(playerid, fstd_p[playerid][4], 0x00000070);
  123. PlayerTextDrawUseBox(playerid, fstd_p[playerid][4], 0);
  124. PlayerTextDrawBoxColor(playerid, fstd_p[playerid][4], 0x80808080);
  125. PlayerTextDrawSetShadow(playerid, fstd_p[playerid][4], 2);
  126. PlayerTextDrawSetOutline(playerid, fstd_p[playerid][4], 0);
  127. PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][4], 0x000000FF);
  128. PlayerTextDrawFont(playerid, fstd_p[playerid][4], 4);
  129. PlayerTextDrawSetProportional(playerid, fstd_p[playerid][4], 1);
  130. PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][4], 0);
  131.  
  132. fstd_p[playerid][3] = CreatePlayerTextDraw(playerid, 500.351715, 141.850006, "usebox");
  133. PlayerTextDrawLetterSize(playerid, fstd_p[playerid][3], 0.000000, 3.998150);
  134. PlayerTextDrawTextSize(playerid, fstd_p[playerid][3], 455.101715, 0.000000);
  135. PlayerTextDrawAlignment(playerid, fstd_p[playerid][3], 1);
  136. PlayerTextDrawColor(playerid, fstd_p[playerid][3], 0xE1E1E1FF);
  137. PlayerTextDrawUseBox(playerid, fstd_p[playerid][3], 1);
  138. PlayerTextDrawBoxColor(playerid, fstd_p[playerid][3], 0x000000AA);
  139. PlayerTextDrawSetShadow(playerid, fstd_p[playerid][3], 2);
  140. PlayerTextDrawSetOutline(playerid, fstd_p[playerid][3], 0);
  141. PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][3], 0x000000FF);
  142. PlayerTextDrawFont(playerid, fstd_p[playerid][3], 0);
  143. PlayerTextDrawSetProportional(playerid, fstd_p[playerid][3], 1);
  144. PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][3], 0);
  145.  
  146. fstd_p[playerid][2] = CreatePlayerTextDraw(playerid, 477.851715, 142.516678, "USE");
  147. PlayerTextDrawLetterSize(playerid, fstd_p[playerid][2], 0.159033, 0.818733);
  148. PlayerTextDrawTextSize(playerid, fstd_p[playerid][2], 7.368598, 40.375000);
  149. PlayerTextDrawAlignment(playerid, fstd_p[playerid][2], 2);
  150. PlayerTextDrawColor(playerid, fstd_p[playerid][2], 0xFFFFFFFF);
  151. PlayerTextDrawUseBox(playerid, fstd_p[playerid][2], 0);
  152. PlayerTextDrawBoxColor(playerid, fstd_p[playerid][2], 0x80808080);
  153. PlayerTextDrawSetShadow(playerid, fstd_p[playerid][2], 0);
  154. PlayerTextDrawSetOutline(playerid, fstd_p[playerid][2], 1);
  155. PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][2], 0x00000000);
  156. PlayerTextDrawFont(playerid, fstd_p[playerid][2], 1);
  157. PlayerTextDrawSetProportional(playerid, fstd_p[playerid][2], 1);
  158. PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][2], 1);
  159.  
  160. fstd_p[playerid][1] = CreatePlayerTextDraw(playerid, 477.851715, 155.516678, "INFO");
  161. PlayerTextDrawLetterSize(playerid, fstd_p[playerid][1], 0.154033, 0.818733);
  162. PlayerTextDrawTextSize(playerid, fstd_p[playerid][1], 7.368598, 40.375000);
  163. PlayerTextDrawAlignment(playerid, fstd_p[playerid][1], 2);
  164. PlayerTextDrawColor(playerid, fstd_p[playerid][1], 0xFFFFFFFF);
  165. PlayerTextDrawUseBox(playerid, fstd_p[playerid][1], 0);
  166. PlayerTextDrawBoxColor(playerid, fstd_p[playerid][1], 0x80808080);
  167. PlayerTextDrawSetShadow(playerid, fstd_p[playerid][1], 0);
  168. PlayerTextDrawSetOutline(playerid, fstd_p[playerid][1], 1);
  169. PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][1], 0x00000000);
  170. PlayerTextDrawFont(playerid, fstd_p[playerid][1], 1);
  171. PlayerTextDrawSetProportional(playerid, fstd_p[playerid][1], 1);
  172. PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][1], 1);
  173.  
  174. fstd_p[playerid][0] = CreatePlayerTextDraw(playerid, 477.851715, 168.516678, "CLOSE");
  175. PlayerTextDrawLetterSize(playerid, fstd_p[playerid][0], 0.149033, 0.818733);
  176. PlayerTextDrawTextSize(playerid, fstd_p[playerid][0], 7.368598, 40.375000);
  177. PlayerTextDrawAlignment(playerid, fstd_p[playerid][0], 2);
  178. PlayerTextDrawColor(playerid, fstd_p[playerid][0], 0xBE5555FF);
  179. PlayerTextDrawUseBox(playerid, fstd_p[playerid][0], 0);
  180. PlayerTextDrawBoxColor(playerid, fstd_p[playerid][0], 0x80808080);
  181. PlayerTextDrawSetShadow(playerid, fstd_p[playerid][0], 0);
  182. PlayerTextDrawSetOutline(playerid, fstd_p[playerid][0], 1);
  183. PlayerTextDrawBackgroundColor(playerid, fstd_p[playerid][0], 0x00000000);
  184. PlayerTextDrawFont(playerid, fstd_p[playerid][0], 1);
  185. PlayerTextDrawSetProportional(playerid, fstd_p[playerid][0], 1);
  186. PlayerTextDrawSetSelectable(playerid, fstd_p[playerid][0], 1);
  187. PlayerPlaySound(playerid, 6801, 0.0, 0.0, 0.0), PlayerTextDrawShow(playerid, fstd_p[playerid][0]),PlayerTextDrawShow(playerid, fstd_p[playerid][2]), PlayerTextDrawShow(playerid, fstd_p[playerid][1]), PlayerTextDrawShow(playerid, fstd_p[playerid][3]); PlayerTextDrawShow(playerid, fstd_p[playerid][4]); PlayerTextDrawShow(playerid, fstd_p[playerid][5]); // Воспроизводим звук.
  188. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement