Advertisement
Harexe2

Untitled

Jul 25th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.42 KB | None | 0 0
  1.  
  2. #include <a_samp>
  3.  
  4. new Text:TD0;
  5. new Text:TD1;
  6. new Text:TD2;
  7. new Text:TD3;
  8. new Text:TD4;
  9. new Text:TD5;
  10. new Text:TD6;
  11. new Text:TD7;
  12. new Text:TD8;
  13. new Text:TD9;
  14. new Text:TD10;
  15. new Text:TD11;
  16. new Text:TD12;
  17. new Text:TD13;
  18. new Text:TD14;
  19. new Text:TD15;
  20. forward RandomPorukee();
  21.  
  22. new RandomPoruke[][] =
  23. {
  24. "~w~Sve komande mozete vidit sa ~b~/help",
  25. "~w~Trenutna verzija moda ~b~v1.0.0",
  26. "~w~Dobrodosli na ~b~Fight Arena ~w~server."
  27. };
  28. public RandomPorukee()
  29. {
  30. TextDrawSetString(TD7, RandomPoruke[random(sizeof(RandomPoruke))]);
  31. return 1;
  32. }
  33. public OnFilterScriptInit()
  34. {
  35.  
  36. SetTimer("RandomPorukee",10000,1);
  37. print("TDs by Harexe");
  38.  
  39. TD0 = TextDrawCreate(0.000000, 430.500000, "LD_SPAC:white");
  40. TextDrawLetterSize(TD0, 0.000000, 0.000000);
  41. TextDrawTextSize(TD0, 640.000000, 17.500000);
  42. TextDrawAlignment(TD0, 1);
  43. TextDrawColor(TD0, -16776961);
  44. TextDrawSetShadow(TD0, 0);
  45. TextDrawSetOutline(TD0, 0);
  46. TextDrawFont(TD0, 4);
  47.  
  48. TD1 = TextDrawCreate(639.529418, 431.083312, "LD_SPAC:white");
  49. TextDrawLetterSize(TD1, 0.000000, 0.000000);
  50. TextDrawTextSize(TD1, -639.529418, -1.750000);
  51. TextDrawAlignment(TD1, 1);
  52. TextDrawColor(TD1, 255);
  53. TextDrawSetShadow(TD1, 0);
  54. TextDrawSetOutline(TD1, 0);
  55. TextDrawFont(TD1, 4);
  56.  
  57. TD2 = TextDrawCreate(201.882278, 421.166442, "/");
  58. TextDrawLetterSize(TD2, 0.485294, 3.904168);
  59. TextDrawAlignment(TD2, 1);
  60. TextDrawColor(TD2, 255);
  61. TextDrawSetShadow(TD2, 0);
  62. TextDrawSetOutline(TD2, 0);
  63. TextDrawBackgroundColor(TD2, 51);
  64. TextDrawFont(TD2, 2);
  65. TextDrawSetProportional(TD2, 1);
  66.  
  67. TD3 = TextDrawCreate(239.529495, 429.916748, "Fight arena");
  68. TextDrawLetterSize(TD3, 0.254705, 0.742499);
  69. TextDrawAlignment(TD3, 1);
  70. TextDrawColor(TD3, 255);
  71. TextDrawSetShadow(TD3, 0);
  72. TextDrawSetOutline(TD3, 0);
  73. TextDrawBackgroundColor(TD3, 51);
  74. TextDrawFont(TD3, 2);
  75. TextDrawSetProportional(TD3, 1);
  76.  
  77. TD4 = TextDrawCreate(335.646820, 420.249816, "/");
  78. TextDrawLetterSize(TD4, 0.485294, 3.904168);
  79. TextDrawAlignment(TD4, 1);
  80. TextDrawColor(TD4, 255);
  81. TextDrawSetShadow(TD4, 0);
  82. TextDrawSetOutline(TD4, 0);
  83. TextDrawBackgroundColor(TD4, 51);
  84. TextDrawFont(TD4, 2);
  85. TextDrawSetProportional(TD4, 1);
  86.  
  87. TD5 = TextDrawCreate(220.705932, 436.916656, "online gaming community");
  88. TextDrawLetterSize(TD5, 0.177529, 0.864998);
  89. TextDrawAlignment(TD5, 1);
  90. TextDrawColor(TD5, -1);
  91. TextDrawSetShadow(TD5, 0);
  92. TextDrawSetOutline(TD5, 1);
  93. TextDrawBackgroundColor(TD5, 51);
  94. TextDrawFont(TD5, 2);
  95. TextDrawSetProportional(TD5, 1);
  96.  
  97. TD6 = TextDrawCreate(343.999969, 433.416656, "LD_CHAT:badchat");
  98. TextDrawLetterSize(TD6, 0.000000, 0.000000);
  99. TextDrawTextSize(TD6, 11.294091, 12.833325);
  100. TextDrawAlignment(TD6, 1);
  101. TextDrawColor(TD6, -1);
  102. TextDrawSetShadow(TD6, 0);
  103. TextDrawSetOutline(TD6, 0);
  104. TextDrawFont(TD6, 4);
  105.  
  106. TD7 = TextDrawCreate(361.882293, 436.333343, "Bakar Bakar Bakar Bakar Bakar Bakar");
  107. TextDrawLetterSize(TD7, 0.198705, 0.829999);
  108. TextDrawAlignment(TD7, 1);
  109. TextDrawColor(TD7, -1);
  110. TextDrawSetShadow(TD7, 0);
  111. TextDrawSetOutline(TD7, 1);
  112. TextDrawBackgroundColor(TD7, 51);
  113. TextDrawFont(TD7, 3);
  114. TextDrawSetProportional(TD7, 1);
  115.  
  116. TD8 = TextDrawCreate(0.000014, 431.666656, "LD_GRAV:TIMER");
  117. TextDrawLetterSize(TD8, 0.000000, 0.000000);
  118. TextDrawTextSize(TD8, 12.705881, 14.583325);
  119. TextDrawAlignment(TD8, 1);
  120. TextDrawColor(TD8, -1);
  121. TextDrawUseBox(TD8, true);
  122. TextDrawBoxColor(TD8, 0);
  123. TextDrawSetShadow(TD8, 0);
  124. TextDrawSetOutline(TD8, 0);
  125. TextDrawFont(TD8, 4);
  126.  
  127. TD9 = TextDrawCreate(19.764682, 432.833312, "20:00:00");
  128. TextDrawLetterSize(TD9, 0.313529, 1.424999);
  129. TextDrawAlignment(TD9, 1);
  130. TextDrawColor(TD9, 255);
  131. TextDrawSetShadow(TD9, 0);
  132. TextDrawSetOutline(TD9, 0);
  133. TextDrawBackgroundColor(TD9, 51);
  134. TextDrawFont(TD9, 3);
  135. TextDrawSetProportional(TD9, 1);
  136.  
  137. TD10 = TextDrawCreate(622.588317, 434.583374, "F");
  138. TextDrawLetterSize(TD10, 0.449999, 1.600000);
  139. TextDrawAlignment(TD10, 1);
  140. TextDrawColor(TD10, 255);
  141. TextDrawSetShadow(TD10, 0);
  142. TextDrawSetOutline(TD10, 0);
  143. TextDrawBackgroundColor(TD10, 51);
  144. TextDrawFont(TD10, 2);
  145. TextDrawSetProportional(TD10, 1);
  146.  
  147. TD11 = TextDrawCreate(525.176269, 1.750000, "Fight Arena");
  148. TextDrawLetterSize(TD11, 0.348823, 2.352499);
  149. TextDrawAlignment(TD11, 1);
  150. TextDrawColor(TD11, -16776961);
  151. TextDrawSetShadow(TD11, 0);
  152. TextDrawSetOutline(TD11, 1);
  153. TextDrawBackgroundColor(TD11, 51);
  154. TextDrawFont(TD11, 2);
  155. TextDrawSetProportional(TD11, 1);
  156.  
  157. TD12 = TextDrawCreate(504.470397, 4.666688, "LD_BEAT:right");
  158. TextDrawLetterSize(TD12, 0.000000, 0.000000);
  159. TextDrawTextSize(TD12, 16.941177, 15.750008);
  160. TextDrawAlignment(TD12, 1);
  161. TextDrawColor(TD12, 255);
  162. TextDrawSetShadow(TD12, 0);
  163. TextDrawSetOutline(TD12, 0);
  164. TextDrawFont(TD12, 4);
  165.  
  166. TD13 = TextDrawCreate(622.176208, 5.666689, "LD_BEAT:left");
  167. TextDrawLetterSize(TD13, 0.000000, 0.000000);
  168. TextDrawTextSize(TD13, 16.941177, 15.750008);
  169. TextDrawAlignment(TD13, 1);
  170. TextDrawColor(TD13, 255);
  171. TextDrawSetShadow(TD13, 0);
  172. TextDrawSetOutline(TD13, 0);
  173. TextDrawFont(TD13, 4);
  174.  
  175. TD14 = TextDrawCreate(522.352966, 21.000011, "] Online gaming community ]");
  176. TextDrawLetterSize(TD14, 0.151646, 0.876666);
  177. TextDrawAlignment(TD14, 1);
  178. TextDrawColor(TD14, -1);
  179. TextDrawSetShadow(TD14, 0);
  180. TextDrawSetOutline(TD14, 1);
  181. TextDrawBackgroundColor(TD14, 51);
  182. TextDrawFont(TD14, 2);
  183. TextDrawSetProportional(TD14, 1);
  184.  
  185. TD15 = TextDrawCreate(624.941040, 428.750152, "A");
  186. TextDrawLetterSize(TD15, 0.449999, 1.600000);
  187. TextDrawAlignment(TD15, 1);
  188. TextDrawColor(TD15, -1);
  189. TextDrawSetShadow(TD15, 0);
  190. TextDrawSetOutline(TD15, 0);
  191. TextDrawBackgroundColor(TD15, 51);
  192. TextDrawFont(TD15, 2);
  193. TextDrawSetProportional(TD15, 1);
  194.  
  195.  
  196. return 1;
  197. }
  198.  
  199. public OnFilterScriptExit()
  200. {
  201. return 1;
  202. }
  203.  
  204.  
  205.  
  206. public OnPlayerRequestClass(playerid, classid)
  207. {
  208. SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  209. SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  210. SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  211. return 1;
  212. }
  213.  
  214. public OnPlayerConnect(playerid)
  215. {
  216. return 1;
  217. }
  218.  
  219. public OnPlayerDisconnect(playerid, reason)
  220. {
  221. return 1;
  222. }
  223.  
  224. public OnPlayerSpawn(playerid)
  225. {
  226. return 1;
  227. }
  228.  
  229. public OnPlayerDeath(playerid, killerid, reason)
  230. {
  231. return 1;
  232. }
  233.  
  234. public OnVehicleSpawn(vehicleid)
  235. {
  236. return 1;
  237. }
  238.  
  239. public OnVehicleDeath(vehicleid, killerid)
  240. {
  241. return 1;
  242. }
  243.  
  244. public OnPlayerText(playerid, text[])
  245. {
  246. return 1;
  247. }
  248.  
  249. public OnPlayerCommandText(playerid, cmdtext[])
  250. {
  251. if (strcmp("/mycommand", cmdtext, true, 10) == 0)
  252. {
  253. // Do something here
  254. return 1;
  255. }
  256. return 0;
  257. }
  258.  
  259. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  260. {
  261. return 1;
  262. }
  263.  
  264. public OnPlayerExitVehicle(playerid, vehicleid)
  265. {
  266. return 1;
  267. }
  268.  
  269. public OnPlayerStateChange(playerid, newstate, oldstate)
  270. {
  271. return 1;
  272. }
  273.  
  274. public OnPlayerEnterCheckpoint(playerid)
  275. {
  276. return 1;
  277. }
  278.  
  279. public OnPlayerLeaveCheckpoint(playerid)
  280. {
  281. return 1;
  282. }
  283.  
  284. public OnPlayerEnterRaceCheckpoint(playerid)
  285. {
  286. return 1;
  287. }
  288.  
  289. public OnPlayerLeaveRaceCheckpoint(playerid)
  290. {
  291. return 1;
  292. }
  293.  
  294. public OnRconCommand(cmd[])
  295. {
  296. return 1;
  297. }
  298.  
  299. public OnPlayerRequestSpawn(playerid)
  300. {
  301. return 1;
  302. }
  303.  
  304. public OnObjectMoved(objectid)
  305. {
  306. return 1;
  307. }
  308.  
  309. public OnPlayerObjectMoved(playerid, objectid)
  310. {
  311. return 1;
  312. }
  313.  
  314. public OnPlayerPickUpPickup(playerid, pickupid)
  315. {
  316. return 1;
  317. }
  318.  
  319. public OnVehicleMod(playerid, vehicleid, componentid)
  320. {
  321. return 1;
  322. }
  323.  
  324. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  325. {
  326. return 1;
  327. }
  328.  
  329. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  330. {
  331. return 1;
  332. }
  333.  
  334. public OnPlayerSelectedMenuRow(playerid, row)
  335. {
  336. return 1;
  337. }
  338.  
  339. public OnPlayerExitedMenu(playerid)
  340. {
  341. return 1;
  342. }
  343.  
  344. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  345. {
  346. return 1;
  347. }
  348.  
  349. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  350. {
  351. return 1;
  352. }
  353.  
  354. public OnRconLoginAttempt(ip[], password[], success)
  355. {
  356. return 1;
  357. }
  358.  
  359. public OnPlayerUpdate(playerid)
  360. {
  361. return 1;
  362. }
  363.  
  364. public OnPlayerStreamIn(playerid, forplayerid)
  365. {
  366. return 1;
  367. }
  368.  
  369. public OnPlayerStreamOut(playerid, forplayerid)
  370. {
  371. return 1;
  372. }
  373.  
  374. public OnVehicleStreamIn(vehicleid, forplayerid)
  375. {
  376. return 1;
  377. }
  378.  
  379. public OnVehicleStreamOut(vehicleid, forplayerid)
  380. {
  381. return 1;
  382. }
  383.  
  384. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  385. {
  386. return 1;
  387. }
  388.  
  389. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  390. {
  391. return 1;
  392. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement