Advertisement
Guest User

Untitled

a guest
Mar 12th, 2017
378
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.00 KB | None | 0 0
  1. ////////////////////////////////////////////////////////////////////////////////
  2. #include < a_samp >
  3. #include < a_objects >
  4. #include < core >
  5. #include < float >
  6. #include < time >
  7. #include < morphinc >
  8. #include < file >
  9. #include < foreach >
  10. #include < streamer >
  11. #include < YSI\y_ini >
  12. #include < YSI\y_commands >
  13. #include < sscanf2 >
  14. #include < YSI\y_va >
  15. ////////////////////////////////////////////////////////////////////////////////
  16. new Text:BincoTD[43];
  17.  
  18. #define SPD ShowPlayerDialog
  19.  
  20. #define BELA "{FFFFFF}"
  21. ////////////////////////////////////////////////////////////////////////////////
  22. #define DIALOG_INTERNET 341
  23. ////////////////////////////////////////////////////////////////////////////////
  24. public OnGameModeInit()
  25. {
  26. //------------------------------------------------------------------------------
  27. CreateDynamicPickup(1239, 1, 1475.8835,-1733.8163,13.2044); // internet cafe
  28.  
  29. CreateDynamic3DTextLabel(""BELA"[ INTERNET CAFE ]\nZa koriscenje usluga\nKomanda: /internet",0x9EC73DFF, 1475.8835,-1733.8163,13.2044, 30, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 15.0);
  30. //------------------------------------------------------------------------------
  31. BincoTD[0] = TextDrawCreate(82.000000, 64.000000, "LD_SPAC:white");
  32. TextDrawLetterSize(BincoTD[0], 0.000000, 0.000000);
  33. TextDrawTextSize(BincoTD[0], 518.000000, 272.000000);
  34. TextDrawAlignment(BincoTD[0], 1);
  35. TextDrawColor(BincoTD[0], -1061109505);
  36. TextDrawSetShadow(BincoTD[0], 0);
  37. TextDrawSetOutline(BincoTD[0], 0);
  38. TextDrawBackgroundColor(BincoTD[0], 255);
  39. TextDrawFont(BincoTD[0], 4);
  40. TextDrawSetProportional(BincoTD[0], 0);
  41. TextDrawSetShadow(BincoTD[0], 0);
  42.  
  43. BincoTD[1] = TextDrawCreate(82.000000, 63.125000, "LD_SPAC:white");
  44. TextDrawLetterSize(BincoTD[1], 0.000000, 0.000000);
  45. TextDrawTextSize(BincoTD[1], 518.000000, 11.000000);
  46. TextDrawAlignment(BincoTD[1], 1);
  47. TextDrawColor(BincoTD[1], -2139062017);
  48. TextDrawSetShadow(BincoTD[1], 0);
  49. TextDrawSetOutline(BincoTD[1], 0);
  50. TextDrawBackgroundColor(BincoTD[1], 255);
  51. TextDrawFont(BincoTD[1], 4);
  52. TextDrawSetProportional(BincoTD[1], 0);
  53. TextDrawSetShadow(BincoTD[1], 0);
  54.  
  55. BincoTD[2] = TextDrawCreate(90.000000, 63.562500, "ic");
  56. TextDrawLetterSize(BincoTD[2], 0.203999, 0.913124);
  57. TextDrawAlignment(BincoTD[2], 1);
  58. TextDrawColor(BincoTD[2], -1);
  59. TextDrawSetShadow(BincoTD[2], 0);
  60. TextDrawSetOutline(BincoTD[2], 0);
  61. TextDrawBackgroundColor(BincoTD[2], 255);
  62. TextDrawFont(BincoTD[2], 2);
  63. TextDrawSetProportional(BincoTD[2], 1);
  64. TextDrawSetShadow(BincoTD[2], 0);
  65.  
  66. BincoTD[3] = TextDrawCreate(86.000000, 63.125000, "ld_pool:ball");
  67. TextDrawLetterSize(BincoTD[3], 0.000000, 0.000000);
  68. TextDrawTextSize(BincoTD[3], 16.000000, 11.000000);
  69. TextDrawAlignment(BincoTD[3], 1);
  70. TextDrawColor(BincoTD[3], 255);
  71. TextDrawSetShadow(BincoTD[3], 0);
  72. TextDrawSetOutline(BincoTD[3], 0);
  73. TextDrawBackgroundColor(BincoTD[3], 255);
  74. TextDrawFont(BincoTD[3], 4);
  75. TextDrawSetProportional(BincoTD[3], 0);
  76. TextDrawSetShadow(BincoTD[3], 0);
  77.  
  78. BincoTD[4] = TextDrawCreate(589.000000, 59.187500, "x");
  79. TextDrawLetterSize(BincoTD[4], 0.400000, 1.600000);
  80. TextDrawAlignment(BincoTD[4], 1);
  81. TextDrawColor(BincoTD[4], -16776961);
  82. TextDrawSetShadow(BincoTD[4], 0);
  83. TextDrawSetOutline(BincoTD[4], 0);
  84. TextDrawBackgroundColor(BincoTD[4], 255);
  85. TextDrawFont(BincoTD[4], 1);
  86. TextDrawSetProportional(BincoTD[4], 1);
  87. TextDrawSetShadow(BincoTD[4], 0);
  88. TextDrawSetSelectable(BincoTD[4], true);
  89.  
  90. BincoTD[5] = TextDrawCreate(258.000000, 63.125000, "www.BincoTD-shop.com");
  91. TextDrawLetterSize(BincoTD[5], 0.361999, 1.000625);
  92. TextDrawAlignment(BincoTD[5], 1);
  93. TextDrawColor(BincoTD[5], -1);
  94. TextDrawSetShadow(BincoTD[5], 0);
  95. TextDrawSetOutline(BincoTD[5], 0);
  96. TextDrawBackgroundColor(BincoTD[5], 255);
  97. TextDrawFont(BincoTD[5], 1);
  98. TextDrawSetProportional(BincoTD[5], 1);
  99. TextDrawSetShadow(BincoTD[5], 0);
  100.  
  101. BincoTD[6] = TextDrawCreate(121.000000, 81.937500, "B");
  102. TextDrawLetterSize(BincoTD[6], 0.715999, 3.669372);
  103. TextDrawAlignment(BincoTD[6], 1);
  104. TextDrawColor(BincoTD[6], -5963521);
  105. TextDrawSetShadow(BincoTD[6], 0);
  106. TextDrawSetOutline(BincoTD[6], 1);
  107. TextDrawBackgroundColor(BincoTD[6], 255);
  108. TextDrawFont(BincoTD[6], 2);
  109. TextDrawSetProportional(BincoTD[6], 1);
  110. TextDrawSetShadow(BincoTD[6], 0);
  111.  
  112. BincoTD[7] = TextDrawCreate(107.000000, 100.312500, "LD_SPAC:white");
  113. TextDrawLetterSize(BincoTD[7], 0.000000, 0.000000);
  114. TextDrawTextSize(BincoTD[7], 26.000000, 2.000000);
  115. TextDrawAlignment(BincoTD[7], 1);
  116. TextDrawColor(BincoTD[7], -5963521);
  117. TextDrawSetShadow(BincoTD[7], 0);
  118. TextDrawSetOutline(BincoTD[7], 0);
  119. TextDrawBackgroundColor(BincoTD[7], 255);
  120. TextDrawFont(BincoTD[7], 4);
  121. TextDrawSetProportional(BincoTD[7], 0);
  122. TextDrawSetShadow(BincoTD[7], 0);
  123.  
  124. BincoTD[8] = TextDrawCreate(97.000000, 104.687500, "LD_SPAC:white");
  125. TextDrawLetterSize(BincoTD[8], 0.000000, 0.000000);
  126. TextDrawTextSize(BincoTD[8], 26.000000, 2.000000);
  127. TextDrawAlignment(BincoTD[8], 1);
  128. TextDrawColor(BincoTD[8], -5963521);
  129. TextDrawSetShadow(BincoTD[8], 0);
  130. TextDrawSetOutline(BincoTD[8], 0);
  131. TextDrawBackgroundColor(BincoTD[8], 255);
  132. TextDrawFont(BincoTD[8], 4);
  133. TextDrawSetProportional(BincoTD[8], 0);
  134. TextDrawSetShadow(BincoTD[8], 0);
  135.  
  136. BincoTD[9] = TextDrawCreate(150.500000, 94.187500, "BincoTD_shop");
  137. TextDrawLetterSize(BincoTD[9], 0.326999, 1.341874);
  138. TextDrawAlignment(BincoTD[9], 1);
  139. TextDrawColor(BincoTD[9], -1);
  140. TextDrawSetShadow(BincoTD[9], 0);
  141. TextDrawSetOutline(BincoTD[9], 1);
  142. TextDrawBackgroundColor(BincoTD[9], 255);
  143. TextDrawFont(BincoTD[9], 2);
  144. TextDrawSetProportional(BincoTD[9], 1);
  145. TextDrawSetShadow(BincoTD[9], 0);
  146.  
  147. BincoTD[10] = TextDrawCreate(157.500000, 104.250000, "internet_prodaja");
  148. TextDrawLetterSize(BincoTD[10], 0.163498, 1.219375);
  149. TextDrawAlignment(BincoTD[10], 1);
  150. TextDrawColor(BincoTD[10], -5963521);
  151. TextDrawSetShadow(BincoTD[10], 0);
  152. TextDrawSetOutline(BincoTD[10], 0);
  153. TextDrawBackgroundColor(BincoTD[10], 255);
  154. TextDrawFont(BincoTD[10], 2);
  155. TextDrawSetProportional(BincoTD[10], 1);
  156. TextDrawSetShadow(BincoTD[10], 0);
  157.  
  158. BincoTD[11] = TextDrawCreate(309.000000, 96.812500, "LD_SPAC:white");
  159. TextDrawLetterSize(BincoTD[11], 0.000000, 0.000000);
  160. TextDrawTextSize(BincoTD[11], 180.000000, 11.000000);
  161. TextDrawAlignment(BincoTD[11], 1);
  162. TextDrawColor(BincoTD[11], -2139062017);
  163. TextDrawSetShadow(BincoTD[11], 0);
  164. TextDrawSetOutline(BincoTD[11], 0);
  165. TextDrawBackgroundColor(BincoTD[11], 255);
  166. TextDrawFont(BincoTD[11], 4);
  167. TextDrawSetProportional(BincoTD[11], 0);
  168. TextDrawSetShadow(BincoTD[11], 0);
  169.  
  170. BincoTD[12] = TextDrawCreate(315.000000, 95.937500, "odeca");
  171. TextDrawLetterSize(BincoTD[12], 0.247500, 1.136250);
  172. TextDrawAlignment(BincoTD[12], 1);
  173. TextDrawColor(BincoTD[12], -1);
  174. TextDrawSetShadow(BincoTD[12], 0);
  175. TextDrawSetOutline(BincoTD[12], 0);
  176. TextDrawBackgroundColor(BincoTD[12], 255);
  177. TextDrawFont(BincoTD[12], 2);
  178. TextDrawSetProportional(BincoTD[12], 1);
  179. TextDrawSetShadow(BincoTD[12], 0);
  180.  
  181. BincoTD[13] = TextDrawCreate(376.000000, 95.937500, "naocare");
  182. TextDrawLetterSize(BincoTD[13], 0.247500, 1.136250);
  183. TextDrawAlignment(BincoTD[13], 1);
  184. TextDrawColor(BincoTD[13], -1);
  185. TextDrawSetShadow(BincoTD[13], 0);
  186. TextDrawSetOutline(BincoTD[13], 0);
  187. TextDrawBackgroundColor(BincoTD[13], 255);
  188. TextDrawFont(BincoTD[13], 2);
  189. TextDrawSetProportional(BincoTD[13], 1);
  190. TextDrawSetShadow(BincoTD[13], 0);
  191.  
  192. BincoTD[14] = TextDrawCreate(444.500000, 95.937500, "kaciga");
  193. TextDrawLetterSize(BincoTD[14], 0.247500, 1.136250);
  194. TextDrawAlignment(BincoTD[14], 1);
  195. TextDrawColor(BincoTD[14], -1);
  196. TextDrawSetShadow(BincoTD[14], 0);
  197. TextDrawSetOutline(BincoTD[14], 0);
  198. TextDrawBackgroundColor(BincoTD[14], 255);
  199. TextDrawFont(BincoTD[14], 2);
  200. TextDrawSetProportional(BincoTD[14], 1);
  201. TextDrawSetShadow(BincoTD[14], 0);
  202.  
  203. BincoTD[15] = TextDrawCreate(105.000000, 145.375000, "");
  204. TextDrawLetterSize(BincoTD[15], 0.000000, 0.000000);
  205. TextDrawTextSize(BincoTD[15], 68.000000, 73.000000);
  206. TextDrawAlignment(BincoTD[15], 1);
  207. TextDrawColor(BincoTD[15], -1061109505);
  208. TextDrawSetShadow(BincoTD[15], 0);
  209. TextDrawSetOutline(BincoTD[15], 0);
  210. TextDrawBackgroundColor(BincoTD[15], -2139062017);
  211. TextDrawFont(BincoTD[15], 5);
  212. TextDrawSetProportional(BincoTD[15], 0);
  213. TextDrawSetShadow(BincoTD[15], 0);
  214. TextDrawSetSelectable(BincoTD[15], true);
  215. TextDrawSetPreviewModel(BincoTD[15], 24);
  216. TextDrawSetPreviewRot(BincoTD[15], 0.000000, 0.000000, 0.000000, 1.000000);
  217.  
  218. BincoTD[16] = TextDrawCreate(110.500000, 220.187500, "cena:_250_$");
  219. TextDrawLetterSize(BincoTD[16], 0.194499, 1.250000);
  220. TextDrawAlignment(BincoTD[16], 1);
  221. TextDrawColor(BincoTD[16], -5963521);
  222. TextDrawSetShadow(BincoTD[16], 0);
  223. TextDrawSetOutline(BincoTD[16], 1);
  224. TextDrawBackgroundColor(BincoTD[16], 255);
  225. TextDrawFont(BincoTD[16], 2);
  226. TextDrawSetProportional(BincoTD[16], 1);
  227. TextDrawSetShadow(BincoTD[16], 0);
  228.  
  229. BincoTD[17] = TextDrawCreate(172.500000, 145.375000, "");
  230. TextDrawLetterSize(BincoTD[17], 0.000000, 0.000000);
  231. TextDrawTextSize(BincoTD[17], 68.000000, 73.000000);
  232. TextDrawAlignment(BincoTD[17], 1);
  233. TextDrawColor(BincoTD[17], -1061109505);
  234. TextDrawSetShadow(BincoTD[17], 0);
  235. TextDrawSetOutline(BincoTD[17], 0);
  236. TextDrawBackgroundColor(BincoTD[17], -2139062017);
  237. TextDrawFont(BincoTD[17], 5);
  238. TextDrawSetProportional(BincoTD[17], 0);
  239. TextDrawSetShadow(BincoTD[17], 0);
  240. TextDrawSetSelectable(BincoTD[17], true);
  241. TextDrawSetPreviewModel(BincoTD[17], 25);
  242. TextDrawSetPreviewRot(BincoTD[17], 0.000000, 0.000000, 0.000000, 1.000000);
  243.  
  244. BincoTD[18] = TextDrawCreate(240.500000, 145.375000, "");
  245. TextDrawLetterSize(BincoTD[18], 0.000000, 0.000000);
  246. TextDrawTextSize(BincoTD[18], 68.000000, 73.000000);
  247. TextDrawAlignment(BincoTD[18], 1);
  248. TextDrawColor(BincoTD[18], -1061109505);
  249. TextDrawSetShadow(BincoTD[18], 0);
  250. TextDrawSetOutline(BincoTD[18], 0);
  251. TextDrawBackgroundColor(BincoTD[18], -2139062017);
  252. TextDrawFont(BincoTD[18], 5);
  253. TextDrawSetProportional(BincoTD[18], 0);
  254. TextDrawSetShadow(BincoTD[18], 0);
  255. TextDrawSetSelectable(BincoTD[18], true);
  256. TextDrawSetPreviewModel(BincoTD[18], 28);
  257. TextDrawSetPreviewRot(BincoTD[18], 0.000000, 0.000000, 0.000000, 1.000000);
  258.  
  259. BincoTD[19] = TextDrawCreate(308.500000, 145.375000, "");
  260. TextDrawLetterSize(BincoTD[19], 0.000000, 0.000000);
  261. TextDrawTextSize(BincoTD[19], 68.000000, 73.000000);
  262. TextDrawAlignment(BincoTD[19], 1);
  263. TextDrawColor(BincoTD[19], -1061109505);
  264. TextDrawSetShadow(BincoTD[19], 0);
  265. TextDrawSetOutline(BincoTD[19], 0);
  266. TextDrawBackgroundColor(BincoTD[19], -2139062017);
  267. TextDrawFont(BincoTD[19], 5);
  268. TextDrawSetProportional(BincoTD[19], 0);
  269. TextDrawSetShadow(BincoTD[19], 0);
  270. TextDrawSetSelectable(BincoTD[19], true);
  271. TextDrawSetPreviewModel(BincoTD[19], 29);
  272. TextDrawSetPreviewRot(BincoTD[19], 0.000000, 0.000000, 0.000000, 1.000000);
  273.  
  274. BincoTD[20] = TextDrawCreate(375.500000, 145.375000, "");
  275. TextDrawLetterSize(BincoTD[20], 0.000000, 0.000000);
  276. TextDrawTextSize(BincoTD[20], 68.000000, 73.000000);
  277. TextDrawAlignment(BincoTD[20], 1);
  278. TextDrawColor(BincoTD[20], -1061109505);
  279. TextDrawSetShadow(BincoTD[20], 0);
  280. TextDrawSetOutline(BincoTD[20], 0);
  281. TextDrawBackgroundColor(BincoTD[20], -2139062017);
  282. TextDrawFont(BincoTD[20], 5);
  283. TextDrawSetProportional(BincoTD[20], 0);
  284. TextDrawSetShadow(BincoTD[20], 0);
  285. TextDrawSetSelectable(BincoTD[20], true);
  286. TextDrawSetPreviewModel(BincoTD[20], 30);
  287. TextDrawSetPreviewRot(BincoTD[20], 0.000000, 0.000000, 0.000000, 1.000000);
  288.  
  289. BincoTD[21] = TextDrawCreate(443.500000, 145.375000, "");
  290. TextDrawLetterSize(BincoTD[21], 0.000000, 0.000000);
  291. TextDrawTextSize(BincoTD[21], 68.000000, 73.000000);
  292. TextDrawAlignment(BincoTD[21], 1);
  293. TextDrawColor(BincoTD[21], -1061109505);
  294. TextDrawSetShadow(BincoTD[21], 0);
  295. TextDrawSetOutline(BincoTD[21], 0);
  296. TextDrawBackgroundColor(BincoTD[21], -2139062017);
  297. TextDrawFont(BincoTD[21], 5);
  298. TextDrawSetProportional(BincoTD[21], 0);
  299. TextDrawSetShadow(BincoTD[21], 0);
  300. TextDrawSetSelectable(BincoTD[21], true);
  301. TextDrawSetPreviewModel(BincoTD[21], 35);
  302. TextDrawSetPreviewRot(BincoTD[21], 0.000000, 0.000000, 0.000000, 1.000000);
  303.  
  304. BincoTD[22] = TextDrawCreate(511.000000, 145.375000, "");
  305. TextDrawLetterSize(BincoTD[22], 0.000000, 0.000000);
  306. TextDrawTextSize(BincoTD[22], 68.000000, 73.000000);
  307. TextDrawAlignment(BincoTD[22], 1);
  308. TextDrawColor(BincoTD[22], -1061109505);
  309. TextDrawSetShadow(BincoTD[22], 0);
  310. TextDrawSetOutline(BincoTD[22], 0);
  311. TextDrawBackgroundColor(BincoTD[22], -2139062017);
  312. TextDrawFont(BincoTD[22], 5);
  313. TextDrawSetProportional(BincoTD[22], 0);
  314. TextDrawSetShadow(BincoTD[22], 0);
  315. TextDrawSetSelectable(BincoTD[22], true);
  316. TextDrawSetPreviewModel(BincoTD[22], 36);
  317. TextDrawSetPreviewRot(BincoTD[22], 0.000000, 0.000000, 0.000000, 1.000000);
  318.  
  319. BincoTD[23] = TextDrawCreate(104.500000, 241.625000, "");
  320. TextDrawLetterSize(BincoTD[23], 0.000000, 0.000000);
  321. TextDrawTextSize(BincoTD[23], 68.000000, 73.000000);
  322. TextDrawAlignment(BincoTD[23], 1);
  323. TextDrawColor(BincoTD[23], -1061109505);
  324. TextDrawSetShadow(BincoTD[23], 0);
  325. TextDrawSetOutline(BincoTD[23], 0);
  326. TextDrawBackgroundColor(BincoTD[23], -2139062017);
  327. TextDrawFont(BincoTD[23], 5);
  328. TextDrawSetProportional(BincoTD[23], 0);
  329. TextDrawSetShadow(BincoTD[23], 0);
  330. TextDrawSetSelectable(BincoTD[23], true);
  331. TextDrawSetPreviewModel(BincoTD[23], 59);
  332. TextDrawSetPreviewRot(BincoTD[23], 0.000000, 0.000000, 0.000000, 1.000000);
  333.  
  334. BincoTD[24] = TextDrawCreate(171.500000, 241.625000, "");
  335. TextDrawLetterSize(BincoTD[24], 0.000000, 0.000000);
  336. TextDrawTextSize(BincoTD[24], 68.000000, 73.000000);
  337. TextDrawAlignment(BincoTD[24], 1);
  338. TextDrawColor(BincoTD[24], -1061109505);
  339. TextDrawSetShadow(BincoTD[24], 0);
  340. TextDrawSetOutline(BincoTD[24], 0);
  341. TextDrawBackgroundColor(BincoTD[24], -2139062017);
  342. TextDrawFont(BincoTD[24], 5);
  343. TextDrawSetProportional(BincoTD[24], 0);
  344. TextDrawSetShadow(BincoTD[24], 0);
  345. TextDrawSetSelectable(BincoTD[24], true);
  346. TextDrawSetPreviewModel(BincoTD[24], 60);
  347. TextDrawSetPreviewRot(BincoTD[24], 0.000000, 0.000000, 0.000000, 1.000000);
  348.  
  349. BincoTD[25] = TextDrawCreate(238.500000, 241.625000, "");
  350. TextDrawLetterSize(BincoTD[25], 0.000000, 0.000000);
  351. TextDrawTextSize(BincoTD[25], 68.000000, 73.000000);
  352. TextDrawAlignment(BincoTD[25], 1);
  353. TextDrawColor(BincoTD[25], -1061109505);
  354. TextDrawSetShadow(BincoTD[25], 0);
  355. TextDrawSetOutline(BincoTD[25], 0);
  356. TextDrawBackgroundColor(BincoTD[25], -2139062017);
  357. TextDrawFont(BincoTD[25], 5);
  358. TextDrawSetProportional(BincoTD[25], 0);
  359. TextDrawSetShadow(BincoTD[25], 0);
  360. TextDrawSetSelectable(BincoTD[25], true);
  361. TextDrawSetPreviewModel(BincoTD[25], 67);
  362. TextDrawSetPreviewRot(BincoTD[25], 0.000000, 0.000000, 0.000000, 1.000000);
  363.  
  364. BincoTD[26] = TextDrawCreate(304.500000, 241.625000, "");
  365. TextDrawLetterSize(BincoTD[26], 0.000000, 0.000000);
  366. TextDrawTextSize(BincoTD[26], 68.000000, 73.000000);
  367. TextDrawAlignment(BincoTD[26], 1);
  368. TextDrawColor(BincoTD[26], -1061109505);
  369. TextDrawSetShadow(BincoTD[26], 0);
  370. TextDrawSetOutline(BincoTD[26], 0);
  371. TextDrawBackgroundColor(BincoTD[26], -2139062017);
  372. TextDrawFont(BincoTD[26], 5);
  373. TextDrawSetProportional(BincoTD[26], 0);
  374. TextDrawSetShadow(BincoTD[26], 0);
  375. TextDrawSetSelectable(BincoTD[26], true);
  376. TextDrawSetPreviewModel(BincoTD[26], 72);
  377. TextDrawSetPreviewRot(BincoTD[26], 0.000000, 0.000000, 0.000000, 1.000000);
  378.  
  379. BincoTD[27] = TextDrawCreate(370.500000, 241.625000, "");
  380. TextDrawLetterSize(BincoTD[27], 0.000000, 0.000000);
  381. TextDrawTextSize(BincoTD[27], 68.000000, 73.000000);
  382. TextDrawAlignment(BincoTD[27], 1);
  383. TextDrawColor(BincoTD[27], -1061109505);
  384. TextDrawSetShadow(BincoTD[27], 0);
  385. TextDrawSetOutline(BincoTD[27], 0);
  386. TextDrawBackgroundColor(BincoTD[27], -2139062017);
  387. TextDrawFont(BincoTD[27], 5);
  388. TextDrawSetProportional(BincoTD[27], 0);
  389. TextDrawSetShadow(BincoTD[27], 0);
  390. TextDrawSetSelectable(BincoTD[27], true);
  391. TextDrawSetPreviewModel(BincoTD[27], 73);
  392. TextDrawSetPreviewRot(BincoTD[27], 0.000000, 0.000000, 0.000000, 1.000000);
  393.  
  394. BincoTD[28] = TextDrawCreate(438.000000, 241.625000, "");
  395. TextDrawLetterSize(BincoTD[28], 0.000000, 0.000000);
  396. TextDrawTextSize(BincoTD[28], 68.000000, 73.000000);
  397. TextDrawAlignment(BincoTD[28], 1);
  398. TextDrawColor(BincoTD[28], -1061109505);
  399. TextDrawSetShadow(BincoTD[28], 0);
  400. TextDrawSetOutline(BincoTD[28], 0);
  401. TextDrawBackgroundColor(BincoTD[28], -2139062017);
  402. TextDrawFont(BincoTD[28], 5);
  403. TextDrawSetProportional(BincoTD[28], 0);
  404. TextDrawSetShadow(BincoTD[28], 0);
  405. TextDrawSetSelectable(BincoTD[28], true);
  406. TextDrawSetPreviewModel(BincoTD[28], 101);
  407. TextDrawSetPreviewRot(BincoTD[28], 0.000000, 0.000000, 0.000000, 1.000000);
  408.  
  409. BincoTD[29] = TextDrawCreate(506.000000, 241.625000, "");
  410. TextDrawLetterSize(BincoTD[29], 0.000000, 0.000000);
  411. TextDrawTextSize(BincoTD[29], 68.000000, 73.000000);
  412. TextDrawAlignment(BincoTD[29], 1);
  413. TextDrawColor(BincoTD[29], -1061109505);
  414. TextDrawSetShadow(BincoTD[29], 0);
  415. TextDrawSetOutline(BincoTD[29], 0);
  416. TextDrawBackgroundColor(BincoTD[29], -2139062017);
  417. TextDrawFont(BincoTD[29], 5);
  418. TextDrawSetProportional(BincoTD[29], 0);
  419. TextDrawSetShadow(BincoTD[29], 0);
  420. TextDrawSetSelectable(BincoTD[29], true);
  421. TextDrawSetPreviewModel(BincoTD[29], 217);
  422. TextDrawSetPreviewRot(BincoTD[29], 0.000000, 0.000000, 0.000000, 1.000000);
  423.  
  424. BincoTD[30] = TextDrawCreate(178.500000, 220.625000, "cena:_300_$");
  425. TextDrawLetterSize(BincoTD[30], 0.194499, 1.250000);
  426. TextDrawAlignment(BincoTD[30], 1);
  427. TextDrawColor(BincoTD[30], -5963521);
  428. TextDrawSetShadow(BincoTD[30], 0);
  429. TextDrawSetOutline(BincoTD[30], 1);
  430. TextDrawBackgroundColor(BincoTD[30], 255);
  431. TextDrawFont(BincoTD[30], 2);
  432. TextDrawSetProportional(BincoTD[30], 1);
  433. TextDrawSetShadow(BincoTD[30], 0);
  434.  
  435. BincoTD[31] = TextDrawCreate(246.000000, 220.625000, "cena:_320_$");
  436. TextDrawLetterSize(BincoTD[31], 0.194499, 1.250000);
  437. TextDrawAlignment(BincoTD[31], 1);
  438. TextDrawColor(BincoTD[31], -5963521);
  439. TextDrawSetShadow(BincoTD[31], 0);
  440. TextDrawSetOutline(BincoTD[31], 1);
  441. TextDrawBackgroundColor(BincoTD[31], 255);
  442. TextDrawFont(BincoTD[31], 2);
  443. TextDrawSetProportional(BincoTD[31], 1);
  444. TextDrawSetShadow(BincoTD[31], 0);
  445.  
  446. BincoTD[32] = TextDrawCreate(315.000000, 220.625000, "cena:_120_$");
  447. TextDrawLetterSize(BincoTD[32], 0.194499, 1.250000);
  448. TextDrawAlignment(BincoTD[32], 1);
  449. TextDrawColor(BincoTD[32], -5963521);
  450. TextDrawSetShadow(BincoTD[32], 0);
  451. TextDrawSetOutline(BincoTD[32], 1);
  452. TextDrawBackgroundColor(BincoTD[32], 255);
  453. TextDrawFont(BincoTD[32], 2);
  454. TextDrawSetProportional(BincoTD[32], 1);
  455. TextDrawSetShadow(BincoTD[32], 0);
  456.  
  457. BincoTD[33] = TextDrawCreate(386.500000, 220.187500, "cena:_230_$");
  458. TextDrawLetterSize(BincoTD[33], 0.194499, 1.250000);
  459. TextDrawAlignment(BincoTD[33], 1);
  460. TextDrawColor(BincoTD[33], -5963521);
  461. TextDrawSetShadow(BincoTD[33], 0);
  462. TextDrawSetOutline(BincoTD[33], 1);
  463. TextDrawBackgroundColor(BincoTD[33], 255);
  464. TextDrawFont(BincoTD[33], 2);
  465. TextDrawSetProportional(BincoTD[33], 1);
  466. TextDrawSetShadow(BincoTD[33], 0);
  467.  
  468. BincoTD[34] = TextDrawCreate(453.000000, 220.625000, "cena:_260_$");
  469. TextDrawLetterSize(BincoTD[34], 0.194499, 1.250000);
  470. TextDrawAlignment(BincoTD[34], 1);
  471. TextDrawColor(BincoTD[34], -5963521);
  472. TextDrawSetShadow(BincoTD[34], 0);
  473. TextDrawSetOutline(BincoTD[34], 1);
  474. TextDrawBackgroundColor(BincoTD[34], 255);
  475. TextDrawFont(BincoTD[34], 2);
  476. TextDrawSetProportional(BincoTD[34], 1);
  477. TextDrawSetShadow(BincoTD[34], 0);
  478.  
  479. BincoTD[35] = TextDrawCreate(518.000000, 220.625000, "cena:_130_$");
  480. TextDrawLetterSize(BincoTD[35], 0.194499, 1.250000);
  481. TextDrawAlignment(BincoTD[35], 1);
  482. TextDrawColor(BincoTD[35], -5963521);
  483. TextDrawSetShadow(BincoTD[35], 0);
  484. TextDrawSetOutline(BincoTD[35], 1);
  485. TextDrawBackgroundColor(BincoTD[35], 255);
  486. TextDrawFont(BincoTD[35], 2);
  487. TextDrawSetProportional(BincoTD[35], 1);
  488. TextDrawSetShadow(BincoTD[35], 0);
  489.  
  490. BincoTD[36] = TextDrawCreate(109.000000, 319.937500, "cena:_430_$");
  491. TextDrawLetterSize(BincoTD[36], 0.194499, 1.250000);
  492. TextDrawAlignment(BincoTD[36], 1);
  493. TextDrawColor(BincoTD[36], -5963521);
  494. TextDrawSetShadow(BincoTD[36], 0);
  495. TextDrawSetOutline(BincoTD[36], 1);
  496. TextDrawBackgroundColor(BincoTD[36], 255);
  497. TextDrawFont(BincoTD[36], 2);
  498. TextDrawSetProportional(BincoTD[36], 1);
  499. TextDrawSetShadow(BincoTD[36], 0);
  500.  
  501. BincoTD[37] = TextDrawCreate(181.000000, 319.937500, "cena:_370_$");
  502. TextDrawLetterSize(BincoTD[37], 0.194499, 1.250000);
  503. TextDrawAlignment(BincoTD[37], 1);
  504. TextDrawColor(BincoTD[37], -5963521);
  505. TextDrawSetShadow(BincoTD[37], 0);
  506. TextDrawSetOutline(BincoTD[37], 1);
  507. TextDrawBackgroundColor(BincoTD[37], 255);
  508. TextDrawFont(BincoTD[37], 2);
  509. TextDrawSetProportional(BincoTD[37], 1);
  510. TextDrawSetShadow(BincoTD[37], 0);
  511.  
  512. BincoTD[38] = TextDrawCreate(246.000000, 319.937500, "cena:_145_$");
  513. TextDrawLetterSize(BincoTD[38], 0.194499, 1.250000);
  514. TextDrawAlignment(BincoTD[38], 1);
  515. TextDrawColor(BincoTD[38], -5963521);
  516. TextDrawSetShadow(BincoTD[38], 0);
  517. TextDrawSetOutline(BincoTD[38], 1);
  518. TextDrawBackgroundColor(BincoTD[38], 255);
  519. TextDrawFont(BincoTD[38], 2);
  520. TextDrawSetProportional(BincoTD[38], 1);
  521. TextDrawSetShadow(BincoTD[38], 0);
  522.  
  523. BincoTD[39] = TextDrawCreate(312.500000, 319.937500, "cena:_315_$");
  524. TextDrawLetterSize(BincoTD[39], 0.194499, 1.250000);
  525. TextDrawAlignment(BincoTD[39], 1);
  526. TextDrawColor(BincoTD[39], -5963521);
  527. TextDrawSetShadow(BincoTD[39], 0);
  528. TextDrawSetOutline(BincoTD[39], 1);
  529. TextDrawBackgroundColor(BincoTD[39], 255);
  530. TextDrawFont(BincoTD[39], 2);
  531. TextDrawSetProportional(BincoTD[39], 1);
  532. TextDrawSetShadow(BincoTD[39], 0);
  533.  
  534. BincoTD[40] = TextDrawCreate(379.000000, 319.500000, "cena:_215_$");
  535. TextDrawLetterSize(BincoTD[40], 0.194499, 1.250000);
  536. TextDrawAlignment(BincoTD[40], 1);
  537. TextDrawColor(BincoTD[40], -5963521);
  538. TextDrawSetShadow(BincoTD[40], 0);
  539. TextDrawSetOutline(BincoTD[40], 1);
  540. TextDrawBackgroundColor(BincoTD[40], 255);
  541. TextDrawFont(BincoTD[40], 2);
  542. TextDrawSetProportional(BincoTD[40], 1);
  543. TextDrawSetShadow(BincoTD[40], 0);
  544.  
  545. BincoTD[41] = TextDrawCreate(446.000000, 319.062500, "cena:_413_$");
  546. TextDrawLetterSize(BincoTD[41], 0.194499, 1.250000);
  547. TextDrawAlignment(BincoTD[41], 1);
  548. TextDrawColor(BincoTD[41], -5963521);
  549. TextDrawSetShadow(BincoTD[41], 0);
  550. TextDrawSetOutline(BincoTD[41], 1);
  551. TextDrawBackgroundColor(BincoTD[41], 255);
  552. TextDrawFont(BincoTD[41], 2);
  553. TextDrawSetProportional(BincoTD[41], 1);
  554. TextDrawSetShadow(BincoTD[41], 0);
  555.  
  556. BincoTD[42] = TextDrawCreate(514.500000, 318.625000, "cena:_520_$");
  557. TextDrawLetterSize(BincoTD[42], 0.194499, 1.250000);
  558. TextDrawAlignment(BincoTD[42], 1);
  559. TextDrawColor(BincoTD[42], -5963521);
  560. TextDrawSetShadow(BincoTD[42], 0);
  561. TextDrawSetOutline(BincoTD[42], 1);
  562. TextDrawBackgroundColor(BincoTD[42], 255);
  563. TextDrawFont(BincoTD[42], 2);
  564. TextDrawSetProportional(BincoTD[42], 1);
  565. TextDrawSetShadow(BincoTD[42], 0);
  566. return 1;
  567. }
  568. ////////////////////////////////////////////////////////////////////////////////
  569. public OnPlayerClickTextDraw(playerid, Text:clickedid)
  570. {
  571. if(clickedid == BincoTD[15])
  572. {
  573. SetPlayerSkin(playerid,24);
  574. GivePlayerMoney(playerid,-100);
  575. for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
  576. SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
  577. CancelSelectTextDraw(playerid);
  578. }
  579. if(clickedid == BincoTD[17])
  580. {
  581. SetPlayerSkin(playerid,25);
  582. GivePlayerMoney(playerid,-100);
  583. for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
  584. SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
  585. CancelSelectTextDraw(playerid);
  586. }
  587. if(clickedid == BincoTD[18])
  588. {
  589. SetPlayerSkin(playerid,28);
  590. GivePlayerMoney(playerid,-100);
  591. for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
  592. SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
  593. CancelSelectTextDraw(playerid);
  594. }
  595. if(clickedid == BincoTD[19])
  596. {
  597. SetPlayerSkin(playerid,29);
  598. GivePlayerMoney(playerid,-100);
  599. for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
  600. SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
  601. CancelSelectTextDraw(playerid);
  602. }
  603. if(clickedid == BincoTD[20])
  604. {
  605. SetPlayerSkin(playerid,30);
  606. GivePlayerMoney(playerid,-100);
  607. for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
  608. SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
  609. CancelSelectTextDraw(playerid);
  610. }
  611. if(clickedid == BincoTD[21])
  612. {
  613. SetPlayerSkin(playerid,35);
  614. GivePlayerMoney(playerid,-100);
  615. for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
  616. SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
  617. CancelSelectTextDraw(playerid);
  618. }
  619. if(clickedid == BincoTD[22])
  620. {
  621. SetPlayerSkin(playerid,36);
  622. GivePlayerMoney(playerid,-100);
  623. for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
  624. SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
  625. CancelSelectTextDraw(playerid);
  626. }
  627. if(clickedid == BincoTD[23])
  628. {
  629. SetPlayerSkin(playerid,59);
  630. GivePlayerMoney(playerid,-100);
  631. for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
  632. SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
  633. CancelSelectTextDraw(playerid);
  634. }
  635. if(clickedid == BincoTD[24])
  636. {
  637. SetPlayerSkin(playerid,60);
  638. GivePlayerMoney(playerid,-100);
  639. for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
  640. SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
  641. CancelSelectTextDraw(playerid);
  642. }
  643. if(clickedid == BincoTD[25])
  644. {
  645. SetPlayerSkin(playerid,67);
  646. GivePlayerMoney(playerid,-100);
  647. for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
  648. SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
  649. CancelSelectTextDraw(playerid);
  650. }
  651. if(clickedid == BincoTD[26])
  652. {
  653. SetPlayerSkin(playerid,72);
  654. GivePlayerMoney(playerid,-100);
  655. for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
  656. SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
  657. CancelSelectTextDraw(playerid);
  658. }
  659. if(clickedid == BincoTD[27])
  660. {
  661. SetPlayerSkin(playerid,73);
  662. GivePlayerMoney(playerid,-100);
  663. for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
  664. SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
  665. CancelSelectTextDraw(playerid);
  666. }
  667. if(clickedid == BincoTD[28])
  668. {
  669. SetPlayerSkin(playerid,101);
  670. GivePlayerMoney(playerid,-100);
  671. for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
  672. SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
  673. CancelSelectTextDraw(playerid);
  674. }
  675. if(clickedid == BincoTD[29])
  676. {
  677. SetPlayerSkin(playerid,217);
  678. GivePlayerMoney(playerid,-100);
  679. for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
  680. SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
  681. CancelSelectTextDraw(playerid);
  682. }
  683. if(clickedid == BincoTD[5])
  684. {
  685. for(new i = 0; i < 43; i++) { TextDrawDestroy(BincoTD[i]); }
  686. SendClientMessage(playerid,-1,BELA"Ugasili ste pretrazivac!");
  687. CancelSelectTextDraw(playerid);
  688. }
  689. return 1;
  690. }
  691. ////////////////////////////////////////////////////////////////////////////////
  692. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  693. {
  694. if(newkeys == KEY_SUBMISSION)
  695. {
  696. TextDrawShowForPlayer(playerid, BincoTD[15]);
  697. SelectTextDraw(playerid, 0xFF4040AA);
  698. }
  699. return 1;
  700. }
  701. ////////////////////////////////////////////////////////////////////////////////
  702. YCMD:internet(playerid, params[],help)
  703. {
  704. #pragma unused help
  705. if(IsPlayerInRangeOfPoint(playerid, 5.0, 1475.8835,-1733.8163,13.2044))
  706. {
  707. SendClientMessage(playerid, -1,""BELA"Dobrodosli u Internet Cafe");
  708. SPD(playerid, DIALOG_INTERNET, DIALOG_STYLE_LIST, ""BELA"Internet Cafe", "Binco Shop", "Odaberi", "Izlaz");
  709. }
  710. else return SendClientMessage(playerid,-1,BELA"Niste u Internet Cafe-u !");
  711. return 1;
  712. }
  713. ////////////////////////////////////////////////////////////////////////////////
  714. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  715. {
  716. if(dialogid == DIALOG_INTERNET)
  717. {
  718. if(response)
  719. {
  720. if(listitem == 0)
  721. {
  722. for(new i = 0; i < 43; i++) { TextDrawShowForPlayer(playerid, BincoTD[i]); }
  723. SelectTextDraw(playerid, 0xFF4040AA);
  724. }
  725. return 1;
  726. }
  727. }
  728. return 1;
  729. }
  730. ////////////////////////////////////////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement