Guest User

Untitled

a guest
Jun 26th, 2009
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.17 KB | None | 0 0
  1. #include <a_samp>
  2. #include <k_functions>
  3. #define FILTERSCRIPT
  4.  
  5. // Colors
  6.  
  7. #define COLOR_BLUE 0x0042F6AA
  8. #define COLOR_DBLUE 0x00008DAA
  9. #define COLOR_DRED 0xA50000AA
  10. #define COLOR_WHITE 0xF6F6F6AA
  11. #define COLOR_YELLOW 0xF6F600AA
  12. #define COLOR_GREEN 0x00B900AA
  13.  
  14. #pragma tabsize 0
  15.  
  16. new fdgate;
  17. new fdpanel;
  18.  
  19. #if defined FILTERSCRIPT
  20.  
  21. public OnFilterScriptInit()
  22. {
  23. print("\n--------------------------------------");
  24. print("-Fire Department Gate");
  25. print("--------------------------------------\n");
  26.  
  27. fdgate = CreateObject(11313, 1761.251709, -1691.866943, 14.337524, 0.0000, 0.0000, 359.1406);
  28. fdpanel = CreateObject(2886, 1760.895630, -1695.055176, 14.274990, 0.0000, 0.0000, 269.0037);
  29.  
  30. return 1;
  31. }
  32.  
  33.  
  34.  
  35. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  36. {
  37. if((newkeys ==KEY_SECONDARY_ATTACK)
  38. GetPlayerSkin(playerid);
  39. if(IsPlayerSkin(playerid, 280) || IsPlayerSkin(playerid, 281) || IsPlayerSkin(playerid, 284) || IsPlayerSkin(playerid, 285) || IsPlayerSkin(playerid, 286) || IsPlayerSkin(playerid, 265) || IsPlayerSkin(playerid, 266) || IsPlayerSkin(playerid, 267) || IsPlayerSkin(playerid, 71))
  40. MoveObject(fdgate1,1761.259399, -1691.880127, 18.295528);
  41. SendClientMessage(playerid, COLOR_RED, "You've opened the Gate.");
  42. return 1;
  43. }
  44. } return 0;
  45. }
  46.  
  47.  
  48. public OnFilterScriptExit()
  49. {
  50. return 1;
  51. }
  52.  
  53. #else
  54.  
  55. main()
  56. {
  57. print("\n-----------------------------------------------");
  58. print(" --== Impound Gates By Jay");
  59. print("-------------------------------------------------n");
  60. }
  61.  
  62. #endif
  63.  
  64.  
  65. public OnGameModeExit()
  66. {
  67. return 1;
  68. }
  69.  
  70. public OnPlayerRequestClass(playerid, classid)
  71. {
  72. return 1;
  73. }
  74.  
  75. public OnPlayerRequestSpawn(playerid)
  76. {
  77. return 1;
  78. }
  79.  
  80. public OnPlayerConnect(playerid)
  81. {
  82. return 1;
  83. }
  84.  
  85. public OnPlayerDisconnect(playerid, reason)
  86. {
  87. return 1;
  88. }
  89.  
  90. public OnPlayerSpawn(playerid)
  91. {
  92. return 1;
  93. }
  94.  
  95. public OnPlayerDeath(playerid, killerid, reason)
  96. {
  97. return 1;
  98. }
  99.  
  100. public OnVehicleSpawn(vehicleid)
  101. {
  102. return 1;
  103. }
  104.  
  105. public OnVehicleDeath(vehicleid, killerid)
  106. {
  107. return 1;
  108. }
  109.  
  110. public OnPlayerText(playerid, text[])
  111. {
  112. return 1;
  113. }
  114.  
  115. public OnPlayerPrivmsg(playerid, recieverid, text[])
  116. {
  117. return 1;
  118. }
  119.  
  120. public OnPlayerCommandText(playerid, cmdtext[])
  121. {
  122.  
  123. return 0;
  124. }
  125.  
  126. public OnPlayerInfoChange(playerid)
  127. {
  128. return 1;
  129. }
  130.  
  131. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  132. {
  133. return 1;
  134. }
  135.  
  136. public OnPlayerExitVehicle(playerid, vehicleid)
  137. {
  138. return 1;
  139. }
  140.  
  141. public OnPlayerStateChange(playerid, newstate, oldstate)
  142. {
  143. return 1;
  144. }
  145.  
  146. public OnPlayerEnterCheckpoint(playerid)
  147. {
  148. return 1;
  149. }
  150.  
  151. public OnPlayerLeaveCheckpoint(playerid)
  152. {
  153. return 1;
  154. }
  155.  
  156. public OnPlayerEnterRaceCheckpoint(playerid)
  157. {
  158. return 1;
  159. }
  160.  
  161. public OnPlayerLeaveRaceCheckpoint(playerid)
  162. {
  163. return 1;
  164. }
  165.  
  166. public OnRconCommand(cmd[])
  167. {
  168. return 1;
  169. }
  170.  
  171. public OnObjectMoved(objectid)
  172. {
  173. return 1;
  174. }
  175.  
  176. public OnPlayerObjectMoved(playerid, objectid)
  177. {
  178. return 1;
  179. }
  180.  
  181. public OnPlayerPickUpPickup(playerid, pickupid)
  182. {
  183. return 1;
  184. }
  185.  
  186. public OnPlayerSelectedMenuRow(playerid, row)
  187. {
  188. return 1;
  189. }
  190.  
  191. public OnPlayerExitedMenu(playerid)
  192. {
  193. return 1;
  194. }
  195.  
Advertisement
Add Comment
Please, Sign In to add comment