Advertisement
Shadowfighter

Untitled

Apr 17th, 2011
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.21 KB | None | 0 0
  1. /*
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4. Cluckin Bell v0.1.1 by Shadowfighter
  5.  
  6. (C)redits dürfen nicht entfernt werden!
  7.  
  8. Dieses Filterscript und die Map sind geißtiges Eigentum von Shadowfighter
  9.  
  10. Die Lizens und Auflagen zur Nutzung dürfen jederzeit verändert oder
  11. zurückgezogen werden!
  12.  
  13. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  14.  
  15. */
  16. #include <a_samp>
  17.  
  18.  
  19. public OnFilterScriptInit()
  20. {
  21. print("\n--------------------------------------");
  22. print("Cluckin Bell by Shadowfighter Loaded !");
  23. print("--------------------------------------\n");
  24. return 1;
  25. }
  26.  
  27. public OnFilterScriptExit()
  28. {
  29. return 1;
  30. }
  31.  
  32.  
  33.  
  34. public OnGameModeInit()
  35. {
  36.  
  37. CreateObject(16767, 1798.9420166016, -1937.0725097656, 18.541646957397, 0, 0, 90);
  38. CreateObject(984, 1806.5983886719, -1913.6948242188, 13.032325744629, 0, 0, 0);
  39. CreateObject(984, 1806.5913085938, -1900.8237304688, 13.038612365723, 0, 0, 0);
  40. CreateObject(984, 1806.7756347656, -1878.1572265625, 13.045457839966, 0, 0, 0);
  41. CreateObject(984, 1800.451171875, -1884.6555175781, 13.040977478027, 0, 0, 270);
  42. CreateObject(984, 1787.6325683594, -1884.6591796875, 13.031587600708, 0, 0, 270);
  43. CreateObject(983, 1778.0083007813, -1884.6407470703, 13.071411132813, 0, 0, 270);
  44. CreateObject(984, 1774.6153564453, -1888.0670166016, 13.02207660675, 0, 0, 0);
  45. CreateObject(984, 1774.6632080078, -1903.8581542969, 13.022085189819, 0, 0, 0);
  46. CreateObject(984, 1774.59375, -1916.6083984375, 13.022034645081, 0, 0, 0);
  47. CreateObject(984, 1774.59765625, -1929.4638671875, 13.022037506104, 0, 0, 0);
  48. CreateObject(983, 1789.0074462891, -1932.6010742188, 13.165046691895, 0, 0, 180);
  49. CreateObject(983, 1807.7467041016, -1920.2359619141, 13.247675895691, 0, 0, 270);
  50. CreateObject(1237, 1811.2264404297, -1899.0552978516, 12.568382263184, 0, 0, 0);
  51. CreateObject(1237, 1810.6967773438, -1898.1646728516, 12.578128814697, 0, 0, 0);
  52. CreateObject(1237, 1807.1146240234, -1894.5891113281, 12.404977798462, 0, 0, 0);
  53. CreateObject(1237, 1807.9185791016, -1895.3790283203, 12.404592514038, 0, 0, 0);
  54. CreateObject(1237, 1808.7740478516, -1895.9869384766, 12.578125, 0, 0, 0);
  55. CreateObject(1237, 1810.0531005859, -1897.3218994141, 12.579217910767, 0, 0, 0);
  56. CreateObject(1237, 1809.427734375, -1896.6137695313, 12.578125, 0, 0, 0);
  57. CreateObject(1237, 1807.4526367188, -1884.5251464844, 12.581346511841, 0, 0, 0);
  58. CreateObject(1237, 1808.7347412109, -1884.5218505859, 12.582284927368, 0, 0, 0);
  59. CreateObject(1237, 1810.0416259766, -1884.533203125, 12.583242416382, 0, 0, 0);
  60. CreateObject(1237, 1810.0705566406, -1883.4951171875, 12.583263397217, 0, 0, 0);
  61. CreateObject(1237, 1810.1395263672, -1882.3908691406, 12.583312988281, 0, 0, 0);
  62. CreateObject(1251, 1803.1564941406, -1895.9114990234, 12.51096534729, 0, 0, 88);
  63. CreateObject(1251, 1803.1168212891, -1900.7639160156, 12.506647109985, 0, 0, 268);
  64. CreateObject(1251, 1803.0225830078, -1915.2081298828, 12.499591827393, 0, 0, 267.99499511719);
  65. CreateObject(1251, 1803.0595703125, -1905.5517578125, 12.504307746887, 0, 0, 267.99499511719);
  66. CreateObject(1251, 1803.0078125, -1910.4091796875, 12.501935005188, 0, 0, 267.99499511719);
  67. CreateObject(1251, 1778.1979980469, -1889.4635009766, 12.492680549622, 0, 0, 270);
  68. CreateObject(1251, 1778.1430664063, -1894.2967529297, 12.4926404953, 0, 0, 270);
  69. CreateObject(1251, 1778.1219482422, -1899.0823974609, 12.492625236511, 0, 0, 270);
  70. CreateObject(1251, 1778.1159667969, -1903.9926757813, 12.49262046814, 0, 0, 270);
  71. CreateObject(1251, 1778.0970458984, -1913.3809814453, 12.492607116699, 0, 0, 270);
  72. CreateObject(1251, 1778.0859375, -1908.6923828125, 12.492599487305, 0, 0, 270);
  73. CreateObject(1251, 1777.9342041016, -1918.2169189453, 12.492486953735, 0, 0, 270);
  74. CreateObject(1251, 1778.0206298828, -1923.1457519531, 12.492550849915, 0, 0, 270);
  75. CreateObject(1408, 1753.9000244141, -1907.9729003906, 13.1611328125, 0, 0, 180);
  76. CreateObject(1424, 1781.1435546875, -1896.66796875, 12.903663635254, 0, 0, 270);
  77. CreateObject(2668, 1811.6566162109, -1901.2158203125, 14.734321594238, 0, 0, 270);
  78. CreateObject(2667, 1811.6566162109, -1904.2019042969, 14.734726905823, 0, 0, 270);
  79. CreateObject(2666, 1811.6566162109, -1907.0933837891, 14.754426956177, 0, 0, 272);
  80. CreateObject(2714, 1811.4091796875, -1899.8095703125, 16.486986160278, 0, 0, 159.99938964844);
  81. CreateObject(3515, 1764.4636230469, -1895.9211425781, 12.032664299011, 0, 0, 0);
  82. CreateObject(643, 1757.9780273438, -1888.4705810547, 13.026535987854, 0, 0, 0);
  83. CreateObject(643, 1768.9685058594, -1886.4873046875, 13.023851394653, 0, 0, 0);
  84. CreateObject(643, 1770.0023193359, -1903.7779541016, 13.028094291687, 0, 0, 0);
  85. CreateObject(643, 1755.7408447266, -1904.7991943359, 13.035133361816, 0, 0, 0);
  86. CreateObject(643, 1762.7973632813, -1904.3211669922, 13.036623001099, 0, 0, 0);
  87. CreateObject(643, 1765.1107177734, -1889.2489013672, 13.024794578552, 0, 0, 0);
  88. CreateObject(643, 1756.1024169922, -1898.5200195313, 13.032155036926, 0, 0, 0);
  89. CreateObject(643, 1756.9525146484, -1893.3841552734, 13.026785850525, 0, 0, 0);
  90. CreateObject(1432, 1770.1931152344, -1891.9327392578, 12.56190776825, 0, 0, 0);
  91. CreateObject(1432, 1769.4670410156, -1899.0524902344, 12.565210342407, 0, 0, 0);
  92. CreateObject(1432, 1754.7814941406, -1885.5346679688, 12.556844711304, 0, 0, 0);
  93. CreateObject(1432, 1760.8878173828, -1900.2990722656, 12.563722610474, 0, 0, 0);
  94. CreateObject(870, 1765.7349853516, -1894.98828125, 13.179179191589, 0, 0, 0);
  95. CreateObject(870, 1765.8670654297, -1896.0279541016, 13.179179191589, 0, 0, 0);
  96. CreateObject(870, 1764.7864990234, -1896.9617919922, 13.179179191589, 0, 0, 0);
  97. CreateObject(870, 1763.3742675781, -1896.2601318359, 13.179179191589, 0, 0, 0);
  98. CreateObject(870, 1763.5817871094, -1895.2242431641, 13.179179191589, 0, 0, 0);
  99. CreateObject(870, 1764.6617431641, -1894.8950195313, 13.179179191589, 0, 0, 0);
  100. CreateObject(870, 1763.9063720703, -1896.8924560547, 13.179179191589, 0, 0, 0);
  101. CreateObject(1597, 1808.6373291016, -1914.7039794922, 15.224903106689, 0, 0, 0);
  102. CreateObject(1597, 1808.6505126953, -1904.5008544922, 15.232367515564, 0, 0, 0);
  103. CreateObject(3666, 1808.9188232422, -1898.7860107422, 13.092660903931, 0, 0, 0);
  104. CreateObject(3666, 1752.8330078125, -1890.5433349609, 13.071005821228, 0, 0, 0);
  105. CreateObject(3666, 1762.7877197266, -1884.3757324219, 13.068574905396, 0, 0, 0);
  106. CreateObject(3666, 1773.2801513672, -1889.4178466797, 13.064904212952, 0, 0, 0);
  107. CreateObject(3666, 1752.0667724609, -1907.0759277344, 13.078561782837, 0, 0, 0);
  108. CreateObject(3666, 1766.1916503906, -1906.6832275391, 13.081819534302, 0, 0, 0);
  109. CreateObject(3666, 1808.3186035156, -1882.8829345703, 13.095664978027, 0, 0, 0);
  110. CreateObject(1500, 1804.2933349609, -1920.0169677734, 12.54358291626, 0, 0, 0);
  111. CreateObject(1500, 1802.8018798828, -1920.0009765625, 12.54211807251, 0, 0, 0);
  112. CreateObject(638, 1801.5633544922, -1883.0386962891, 13.2740650177, 0, 0, 270);
  113. CreateObject(638, 1804.8409423828, -1883.0490722656, 13.276465415955, 0, 0, 270);
  114. CreateObject(638, 1798.34765625, -1883.0770263672, 13.271708488464, 0, 0, 270);
  115. CreateObject(638, 1794.9643554688, -1883.1010742188, 13.269229888916, 0, 0, 270);
  116. CreateObject(638, 1791.1271972656, -1883.1843261719, 13.266419410706, 0, 0, 270);
  117. CreateObject(984, 1776.2534179688, -1935.8461914063, 13.183554649353, 0, 0, 270);
  118. CreateObject(983, 1785.8544921875, -1935.8623046875, 13.230429649353, 0, 0, 270);
  119. CreateObject(1302, 1764.541015625, -1883.9385986328, 12.55447769165, 0, 0, 0);
  120.  
  121. Create3DTextLabel("Um etwas zu Trinken Benutze::\n/trinken",0x008080FF,283,1763.6919,-1885.2960,13.5547,1.2195);
  122.  
  123.  
  124.  
  125. return 1;
  126. }
  127.  
  128. public OnGameModeExit()
  129. {
  130. return 1;
  131. }
  132.  
  133. public OnPlayerRequestClass(playerid, classid)
  134. {
  135.  
  136. return 1;
  137. }
  138.  
  139. public OnPlayerConnect(playerid)
  140. {
  141. return 1;
  142. }
  143.  
  144. public OnPlayerDisconnect(playerid, reason)
  145. {
  146. return 1;
  147. }
  148.  
  149. public OnPlayerSpawn(playerid)
  150. {
  151. return 1;
  152. }
  153.  
  154. public OnPlayerDeath(playerid, killerid, reason)
  155. {
  156. return 1;
  157. }
  158.  
  159. public OnVehicleSpawn(vehicleid)
  160. {
  161. return 1;
  162. }
  163.  
  164. public OnVehicleDeath(vehicleid, killerid)
  165. {
  166. return 1;
  167. }
  168.  
  169. public OnPlayerText(playerid, text[])
  170. {
  171. return 1;
  172. }
  173.  
  174. public OnPlayerCommandText(playerid, cmdtext[])
  175. {
  176. if (strcmp("/trinken", cmdtext, true, 10) == 0)
  177. {
  178. if (IsPlayerInRangeOfPoint(playerid,283,1763.6919,-1885.2960,13.5547,1.2195))
  179. {
  180. SetPlayerHealth(playerid, 100);
  181. return 1;
  182. }
  183. }
  184.  
  185. }
  186.  
  187. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  188. {
  189. return 1;
  190. }
  191.  
  192. public OnPlayerExitVehicle(playerid, vehicleid)
  193. {
  194. return 1;
  195. }
  196.  
  197. public OnPlayerStateChange(playerid, newstate, oldstate)
  198. {
  199. return 1;
  200. }
  201.  
  202. public OnPlayerEnterCheckpoint(playerid)
  203. {
  204. return 1;
  205. }
  206.  
  207. public OnPlayerLeaveCheckpoint(playerid)
  208. {
  209. return 1;
  210. }
  211.  
  212. public OnPlayerEnterRaceCheckpoint(playerid)
  213. {
  214. return 1;
  215. }
  216.  
  217. public OnPlayerLeaveRaceCheckpoint(playerid)
  218. {
  219. return 1;
  220. }
  221.  
  222. public OnRconCommand(cmd[])
  223. {
  224. return 1;
  225. }
  226.  
  227. public OnPlayerRequestSpawn(playerid)
  228. {
  229. return 1;
  230. }
  231.  
  232. public OnObjectMoved(objectid)
  233. {
  234. return 1;
  235. }
  236.  
  237. public OnPlayerObjectMoved(playerid, objectid)
  238. {
  239. return 1;
  240. }
  241.  
  242. public OnPlayerPickUpPickup(playerid, pickupid)
  243. {
  244. return 1;
  245. }
  246.  
  247. public OnVehicleMod(playerid, vehicleid, componentid)
  248. {
  249. return 1;
  250. }
  251.  
  252. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  253. {
  254. return 1;
  255. }
  256.  
  257. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  258. {
  259. return 1;
  260. }
  261.  
  262. public OnPlayerSelectedMenuRow(playerid, row)
  263. {
  264. return 1;
  265. }
  266.  
  267. public OnPlayerExitedMenu(playerid)
  268. {
  269. return 1;
  270. }
  271.  
  272. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  273. {
  274. return 1;
  275. }
  276.  
  277. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  278. {
  279. return 1;
  280. }
  281.  
  282. public OnRconLoginAttempt(ip[], password[], success)
  283. {
  284. return 1;
  285. }
  286.  
  287. public OnPlayerUpdate(playerid)
  288. {
  289. return 1;
  290. }
  291.  
  292. public OnPlayerStreamIn(playerid, forplayerid)
  293. {
  294. return 1;
  295. }
  296.  
  297. public OnPlayerStreamOut(playerid, forplayerid)
  298. {
  299. return 1;
  300. }
  301.  
  302. public OnVehicleStreamIn(vehicleid, forplayerid)
  303. {
  304. return 1;
  305. }
  306.  
  307. public OnVehicleStreamOut(vehicleid, forplayerid)
  308. {
  309. return 1;
  310. }
  311.  
  312. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  313. {
  314. return 1;
  315. }
  316.  
  317. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  318. {
  319. return 1;
  320. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement