Advertisement
Guest User

SBUK_Interiors.pwn

a guest
Nov 29th, 2014
426
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.89 KB | None | 0 0
  1. #define FILTERSCRIPT
  2.  
  3. #include <a_samp>
  4. #include <zcmd>
  5.  
  6. #if defined FILTERSCRIPT
  7.  
  8. //*****[Colours]*****//
  9. #define COLOR_GREEN 0x33AA33AA
  10. #define COL_RED "{F81414}"
  11. #define COL_GREEN "{00FF22}"
  12.  
  13. public OnFilterScriptInit()
  14. {
  15. print("\n--------------------------------------");
  16. print(" In-Game Interior Teleports");
  17. print(" By: Th3UnKnOwN");
  18. print(" A [SBUK] Cops and Robbers Product");
  19. print("--------------------------------------\n");
  20. return 1;
  21. }
  22.  
  23. public OnFilterScriptExit()
  24. {
  25. print("\n--------------------------------------");
  26. print(" Closing In-Game Interior teleports");
  27. print(" By: Th3UnKnOwN");
  28. print("--------------------------------------\n");
  29. return 1;
  30. }
  31.  
  32. #endif
  33.  
  34. CMD:interiors(playerid, params[])
  35. {
  36. ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Interiors", "Shops\nCasinos\nBars/Clubs\nMisc", "Select", "Close");
  37. return 1;
  38. }
  39.  
  40. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  41. {
  42. if(dialogid == 1)
  43. {
  44. if(response)
  45. {
  46. if(listitem == 0)
  47. {
  48. ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Shops", "24/7 1\n24/7 2\nAmmunation\nStacked Pizza\nTattoo\nBinco\nVictim\nZip\nBurger Shot\nClucking Bell\nDonut Shop", "Select", "Back");
  49. }
  50. if(listitem == 1)
  51. {
  52. ShowPlayerDialog(playerid, 3, DIALOG_STYLE_LIST, "Casinos", "4 Dragons\nCaligulas\nNormal Casino", "Select", "Back");
  53. }
  54. if(listitem == 2)
  55. {
  56. ShowPlayerDialog(playerid, 4, DIALOG_STYLE_LIST, "Bars/Clubs", "Ganton Bar\nAlhambra Club\nLiberty City Bar", "Select", "Back");
  57. }
  58. if(listitem == 3)
  59. {
  60. ShowPlayerDialog(playerid, 5, DIALOG_STYLE_LIST, "Misc", "Ganton Gym\nBank\nCity Hall\nLSPD", "Select", "Back");
  61. }
  62. }
  63. }
  64. if(dialogid == 2)
  65. {
  66. if(!response) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Interiors", "Shops\nCasinos\nBars/Clubs\nMisc", "Select", "Close");
  67. if(response)
  68. {
  69. if(listitem == 0)
  70. {
  71. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  72. SendClientMessage(playerid, COLOR_GREEN, "24/7 1 Interior: 16");
  73. SetPlayerInterior(playerid, 16);
  74. SetPlayerPos(playerid, -31.2933, -138.7831, 1003.5469);
  75. }
  76. if(listitem == 1)
  77. {
  78. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  79. SendClientMessage(playerid, COLOR_GREEN, "24/7 2 Interior: 17");
  80. SetPlayerInterior(playerid, 17);
  81. SetPlayerPos(playerid, -20.4971, -180.7551, 1003.5469);
  82. }
  83. if(listitem == 2)
  84. {
  85. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  86. SendClientMessage(playerid, COLOR_GREEN, "Ammunation 1 Interior: 7");
  87. SetPlayerInterior(playerid, 7);
  88. SetPlayerPos(playerid, 311.7179, -137.7560, 999.6016);
  89. }
  90. if(listitem == 3)
  91. {
  92. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  93. SendClientMessage(playerid, COLOR_GREEN, "Stacked Pizza Co Interior: 5");
  94. SetPlayerInterior(playerid, 5);
  95. SetPlayerPos(playerid, 371.4286,-125.5176,1001.4995);
  96. }
  97. if(listitem == 4)
  98. {
  99. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  100. SendClientMessage(playerid, COLOR_GREEN, "Tattoo shop Interior: 3");
  101. SetPlayerInterior(playerid, 3);
  102. SetPlayerPos(playerid, -203.5261,-41.1432,1002.2734);
  103. }
  104. if(listitem == 5)
  105. {
  106. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  107. SendClientMessage(playerid, COLOR_GREEN, "Binco Clothes Interior: 15");
  108. SetPlayerInterior(playerid, 15);
  109. SetPlayerPos(playerid, 209.7231,-105.3698,1005.1328);
  110. }
  111. if(listitem == 6)
  112. {
  113. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  114. SendClientMessage(playerid, COLOR_GREEN, "Victim Clothes Interior: 5");
  115. SetPlayerInterior(playerid, 5);
  116. SetPlayerPos(playerid, 209.6263,-5.0065,1005.2109);
  117. }
  118. if(listitem == 7)
  119. {
  120. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  121. SendClientMessage(playerid, COLOR_GREEN, "Zip Clothes Interior: 18");
  122. SetPlayerInterior(playerid, 18);
  123. SetPlayerPos(playerid, 158.8535,-85.4620,1001.8047);
  124. }
  125. if(listitem == 8)
  126. {
  127. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  128. SendClientMessage(playerid, COLOR_GREEN, "Burger Shot Interior: 10");
  129. SetPlayerInterior(playerid, 10);
  130. SetPlayerPos(playerid, 371.8721,-70.2320,1001.5078);
  131. }
  132. if(listitem == 9)
  133. {
  134. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  135. SendClientMessage(playerid, COLOR_GREEN, "Cluckin' Bell Interior: 9");
  136. SetPlayerInterior(playerid, 9);
  137. SetPlayerPos(playerid, 368.1101,-7.8857,1001.8516);
  138. }
  139. if(listitem == 10)
  140. {
  141. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  142. SendClientMessage(playerid, COLOR_GREEN, "Donut Shop Interior: 17");
  143. SetPlayerInterior(playerid, 17);
  144. SetPlayerPos(playerid, 374.6387,-179.5650,1000.6328);
  145. }
  146. }
  147. }
  148. if(dialogid == 3)
  149. {
  150. if(!response) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Interiors", "Shops\nCasinos\nBars/Clubs\nMisc", "Select", "Close");
  151. if(response)
  152. {
  153. if(listitem == 0)
  154. {
  155. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  156. SendClientMessage(playerid, COLOR_GREEN, "4 Dragons Casino Interior: 10");
  157. SetPlayerInterior(playerid, 10);
  158. SetPlayerPos(playerid, 1956.3617,1037.3828,992.8652);
  159. }
  160. if(listitem == 1)
  161. {
  162. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  163. SendClientMessage(playerid, COLOR_GREEN, "Caligulas Casino Interior: 1");
  164. SetPlayerInterior(playerid, 1);
  165. SetPlayerPos(playerid, 2233.7537,1698.7278,1008.3594);
  166. }
  167. if(listitem == 2)
  168. {
  169. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  170. SendClientMessage(playerid, COLOR_GREEN, "Normal Casino Interior: 12");
  171. SetPlayerInterior(playerid, 12);
  172. SetPlayerPos(playerid, 1133.7147,-6.3407,1000.6797);
  173. }
  174. }
  175. }
  176. if(dialogid == 4)
  177. {
  178. if(!response) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Interiors", "Shops\nCasinos\nBars/Clubs\nMisc", "Select", "Close");
  179. if(response)
  180. {
  181. if(listitem == 0)
  182. {
  183. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  184. SendClientMessage(playerid, COLOR_GREEN, "Ganton bar Interior: 11");
  185. SetPlayerInterior(playerid, 11);
  186. SetPlayerPos(playerid, 507.6634,-75.0145,998.7578);
  187. }
  188. if(listitem == 1)
  189. {
  190. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  191. SendClientMessage(playerid, COLOR_GREEN, "Alhambra Club Interior: 17");
  192. SetPlayerInterior(playerid, 17);
  193. SetPlayerPos(playerid, 488.6237,-16.6811,1000.6797);
  194. }
  195. if(listitem == 2)
  196. {
  197. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  198. SendClientMessage(playerid, COLOR_GREEN, "Liberty City Bar Interior: 1");
  199. SetPlayerInterior(playerid, 1);
  200. SetPlayerPos(playerid, -794.5854,498.1396,1376.1953);
  201. }
  202. }
  203. }
  204. if(dialogid == 5)
  205. {
  206. if(!response) return ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Interiors", "Shops\nCasinos\nBars/Clubs\nMisc", "Select", "Close");
  207. if(response)
  208. {
  209. if(listitem == 0)
  210. {
  211. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  212. SendClientMessage(playerid, COLOR_GREEN, "Ganton Gym Interior: 5");
  213. SetPlayerInterior(playerid, 5);
  214. SetPlayerPos(playerid, -794.5854,498.1396,1376.1953);
  215. }
  216. if(listitem == 1)
  217. {
  218. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  219. SendClientMessage(playerid, COLOR_GREEN, "The Bank Interior: 0");
  220. SetPlayerInterior(playerid, 0);
  221. SetPlayerPos(playerid, 2311.3652,-9.2314,26.7422);
  222. }
  223. if(listitem == 2)
  224. {
  225. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  226. SendClientMessage(playerid, COLOR_GREEN, "City Hall Interior: 3");
  227. SetPlayerInterior(playerid, 3);
  228. SetPlayerPos(playerid, 365.0260,174.5961,1008.3828);
  229. }
  230. if(listitem == 3)
  231. {
  232. SendClientMessage(playerid, COLOR_GREEN, "You have teleported to:");
  233. SendClientMessage(playerid, COLOR_GREEN, "LSPD Interior: 6");
  234. SetPlayerInterior(playerid, 6);
  235. SetPlayerPos(playerid, 246.4703,69.6287,1003.6406);
  236. }
  237. }
  238. }
  239. return 1;
  240. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement