kushmcblunt

INTSelecter

Jul 20th, 2016
825
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.07 KB | None | 0 0
  1. /*=========================================================================================|
  2. |-------------------------------------Created By: Zack Larson------------------------------|
  3. |-------------------------------------InteriorSelector filterscript------------------------|
  4. |==========================================================================================*/
  5. /*|-----------------------------------Dont remove Credits from script----------------------|
  6. ===========================================================================================*/
  7. #define FILTERSCRIPT
  8. //=======================================================
  9. #include <a_samp>
  10. #include <zcmd>
  11. #include <sscanf2>
  12. #include <foreach>
  13. //=======================================================
  14. #define MAX_STRING 255
  15. #define COLOR_LIGHTRED 0xFF6347AA
  16. #define COLOR_YELLOW 0xFFFF00AA
  17. #define COLOR_YELLOW2 0xFFCC00AA
  18. #define COLOR_WHITE 0xFFFFFFAA
  19. #define COLOR_GREY 0xAFAFAFAA
  20. #define COLOR_RED 0xAA3333AA
  21. #define SCM SendClientMessage
  22. #define GPN(%1) PlayerName(%1)
  23. stock PlayerName(playerid)
  24. {
  25. new name[MAX_PLAYER_NAME];
  26. GetPlayerName(playerid, name, MAX_PLAYER_NAME);
  27. return name;
  28. }
  29. stock PlayerNameEx(playerid)
  30. {
  31. new name[MAX_PLAYER_NAME];
  32. GetPlayerName(playerid, name, MAX_PLAYER_NAME);
  33. new i;
  34. while(name[i]) {
  35. if(name[i] == '_') name[i] = ' ';
  36. i++;
  37. }
  38. return name;
  39. }
  40. //=======================================================
  41. new Menu:hgintmenu1; // Le'Menuuuuuuuuuu
  42. new Menu:hgintmenu2; // Le'Menuuuuuuuuu
  43. new Menu:hgintmenu3; // Le'Menuuuuuuuu
  44. new Menu:hgintmenu4; // Le'Menuuuuuuu
  45. new Menu:hgintmenu5; // Le'Menuuuuuu
  46. new Menu:hgintmenu6; // Le'Menuuuuuu
  47. new Menu:hgintmenu7; // Le'Menuuuuuu
  48. new Menu:hgintmenu8; // Le'Menuuuuuuu
  49. new Menu:hgintmenu9; // Le'Menuuuuuuuu
  50. new Menu:hgintmenu10; // Le'Menuuuuuuuuu
  51. new PlayerFroze[MAX_PLAYERS];
  52. //=======================================================
  53. public OnFilterScriptInit()
  54. {
  55. print("INTSelecter by Zack Larson Loaded");
  56. }
  57.  
  58. public OnFilterScriptExit()
  59. {
  60. print("INTSelecter Unloaded");
  61. }
  62. //=======================================================
  63. public OnGameModeInit()
  64. {
  65. hgintmenu1 = CreateMenu("hgintmenu", 2, 400.0, 100.0, 150.0, 150.0);
  66. AddMenuItem(hgintmenu1, 0, "24/7 #1");
  67. AddMenuItem(hgintmenu1, 0, "Bike School");
  68. AddMenuItem(hgintmenu1, 0, "24/7 #2");
  69. AddMenuItem(hgintmenu1, 0, "24/7 #3");
  70. AddMenuItem(hgintmenu1, 0, "24/7 #4");
  71. AddMenuItem(hgintmenu1, 0, "24/7 #5");
  72. AddMenuItem(hgintmenu1, 0, "24/7 #6");
  73. AddMenuItem(hgintmenu1, 0, "Airport Ticket Desk");
  74. AddMenuItem(hgintmenu1, 0, "Airport Baggage Reclaim");
  75. AddMenuItem(hgintmenu1, 0, "Shamal Interior");
  76. AddMenuItem(hgintmenu1, 0, "Andromada Interior");
  77. AddMenuItem(hgintmenu1, 0, "Ammunation #1");
  78.  
  79. hgintmenu2 = CreateMenu("hgintmenu", 2, 400.0, 100.0, 150.0, 150.0);
  80. AddMenuItem(hgintmenu2, 0, "Ammunation #2");
  81. AddMenuItem(hgintmenu2, 0, "Ammunation #3");
  82. AddMenuItem(hgintmenu2, 0, "Ammunation #4");
  83. AddMenuItem(hgintmenu2, 0, "Ammunation #5");
  84. AddMenuItem(hgintmenu2, 0, "Ammunation Booths");
  85. AddMenuItem(hgintmenu2, 0, "Ammunation Range");
  86. AddMenuItem(hgintmenu2, 0, "Blastin' Fools Hallway");
  87. AddMenuItem(hgintmenu2, 0, "Budget Inn Motel");
  88. AddMenuItem(hgintmenu2, 0, "Jefferson Motel");
  89. AddMenuItem(hgintmenu2, 0, "Off Track betting Shop");
  90. AddMenuItem(hgintmenu2, 0, "Sex Shop");
  91. AddMenuItem(hgintmenu2, 0, "Meat Factory");
  92.  
  93. hgintmenu3 = CreateMenu("hgintmenu", 2, 400.0, 100.0, 150.0, 150.0);
  94. AddMenuItem(hgintmenu3, 0, "Zero's RC Shop");
  95. AddMenuItem(hgintmenu3, 0, "Dillimore gas station");
  96. AddMenuItem(hgintmenu3, 0, "Catigula's basement");
  97. AddMenuItem(hgintmenu3, 0, "FDC Janitor's room");
  98. AddMenuItem(hgintmenu3, 0, "Woozie's Office");
  99. AddMenuItem(hgintmenu3, 0, "Binco");
  100. AddMenuItem(hgintmenu3, 0, "Didier Sachs");
  101. AddMenuItem(hgintmenu3, 0, "Prolaps");
  102. AddMenuItem(hgintmenu3, 0, "Suburban");
  103. AddMenuItem(hgintmenu3, 0, "Victim");
  104. AddMenuItem(hgintmenu3, 0, "Zip");
  105. AddMenuItem(hgintmenu3, 0, "Club");
  106.  
  107. hgintmenu4 = CreateMenu("hgintmenu", 2, 400.0, 100.0, 150.0, 150.0);
  108. AddMenuItem(hgintmenu4, 0, "Bar");
  109. AddMenuItem(hgintmenu4, 0, "Lil' Probe Inn");
  110. AddMenuItem(hgintmenu4, 0, "Jay's Diner");
  111. AddMenuItem(hgintmenu4, 0, "Gant Bridge Diner");
  112. AddMenuItem(hgintmenu4, 0, "Secret Valley Diner");
  113. AddMenuItem(hgintmenu4, 0, "World of Qoc");
  114. AddMenuItem(hgintmenu4, 0, "Welcome Pump");
  115. AddMenuItem(hgintmenu4, 0, "Burger Shot");
  116. AddMenuItem(hgintmenu4, 0, "Cluckin' Bell");
  117. AddMenuItem(hgintmenu4, 0, "Well Stacked Pizza");
  118. AddMenuItem(hgintmenu4, 0, "Rusty Brown's Donuts");
  119. AddMenuItem(hgintmenu4, 0, "Denise's Room");
  120.  
  121. hgintmenu5 = CreateMenu("hgintmenu", 2, 400.0, 100.0, 150.0, 150.0);
  122. AddMenuItem(hgintmenu5, 0, "Katie's Room");
  123. AddMenuItem(hgintmenu5, 0, "Helena's Room");
  124. AddMenuItem(hgintmenu5, 0, "Michelle's Room");
  125. AddMenuItem(hgintmenu5, 0, "Barbara's Room");
  126. AddMenuItem(hgintmenu5, 0, "Millie's Room");
  127. AddMenuItem(hgintmenu5, 0, "Sherman Dam");
  128. AddMenuItem(hgintmenu5, 0, "Planning Department");
  129. AddMenuItem(hgintmenu5, 0, "Area 51");
  130. AddMenuItem(hgintmenu5, 0, "LS GYM");
  131. AddMenuItem(hgintmenu5, 0, "SF GYM");
  132. AddMenuItem(hgintmenu5, 0, "LV GYM");
  133. AddMenuItem(hgintmenu5, 0, "B Dup's House");
  134.  
  135. hgintmenu6 = CreateMenu("hgintmenu", 2, 400.0, 100.0, 150.0, 150.0);
  136. AddMenuItem(hgintmenu6, 0, "B Dup's Crack pad");
  137. AddMenuItem(hgintmenu6, 0, "CJ's House");
  138. AddMenuItem(hgintmenu6, 0, "Madd Dogg's Mansion");
  139. AddMenuItem(hgintmenu6, 0, "Og Loc's House");
  140. AddMenuItem(hgintmenu6, 0, "Ryder's House");
  141. AddMenuItem(hgintmenu6, 0, "Sweet's House");
  142. AddMenuItem(hgintmenu6, 0, "Crack Factory");
  143. AddMenuItem(hgintmenu6, 0, "Big Spread Ranch");
  144. AddMenuItem(hgintmenu6, 0, "Fanny Batters");
  145. AddMenuItem(hgintmenu6, 0, "Strip Club");
  146. AddMenuItem(hgintmenu6, 0, "Strip Club Private Room");
  147. AddMenuItem(hgintmenu6, 0, "Unnamed Brothel");
  148.  
  149. hgintmenu7 = CreateMenu("hgintmenu", 2, 400.0, 100.0, 150.0, 150.0);
  150. AddMenuItem(hgintmenu7, 0, "Tiger Skin Brothel");
  151. AddMenuItem(hgintmenu7, 0, "Pleasure Dome's");
  152. AddMenuItem(hgintmenu7, 0, "Liberty City Outside");
  153. AddMenuItem(hgintmenu7, 0, "Liberty City Inside");
  154. AddMenuItem(hgintmenu7, 0, "Gang House");
  155. AddMenuItem(hgintmenu7, 0, "Colonel Furhberger's");
  156. AddMenuItem(hgintmenu7, 0, "Crack Den");
  157. AddMenuItem(hgintmenu7, 0, "Warehouse #1");
  158. AddMenuItem(hgintmenu7, 0, "Warehouse #2");
  159. AddMenuItem(hgintmenu7, 0, "Sweet's Garage");
  160. AddMenuItem(hgintmenu7, 0, "Lil' Probe Inn Toilet");
  161. AddMenuItem(hgintmenu7, 0, "Unused Safehouse");
  162.  
  163. hgintmenu8 = CreateMenu("hgintmenu", 2, 400.0, 100.0, 150.0, 150.0);
  164. AddMenuItem(hgintmenu8, 0, "RC Battlefield");
  165. AddMenuItem(hgintmenu8, 0, "Barber #1");
  166. AddMenuItem(hgintmenu8, 0, "Barber #2");
  167. AddMenuItem(hgintmenu8, 0, "Barber #3");
  168. AddMenuItem(hgintmenu8, 0, "Tatoo Parlour #1");
  169. AddMenuItem(hgintmenu8, 0, "Tatoo Parlour #1");
  170. AddMenuItem(hgintmenu8, 0, "Tatoo Parlour #1");
  171. AddMenuItem(hgintmenu8, 0, "LS Police HQ");
  172. AddMenuItem(hgintmenu8, 0, "SF Police HQ");
  173. AddMenuItem(hgintmenu8, 0, "LV Police HQ");
  174. AddMenuItem(hgintmenu8, 0, "Car School");
  175. AddMenuItem(hgintmenu8, 0, "8-Track");
  176.  
  177. hgintmenu9 = CreateMenu("hgintmenu", 2, 400.0, 100.0, 150.0, 150.0);
  178. AddMenuItem(hgintmenu9, 0, "Bloodbowl");
  179. AddMenuItem(hgintmenu9, 0, "Dirt Track");
  180. AddMenuItem(hgintmenu9, 0, "Kickstart");
  181. AddMenuItem(hgintmenu9, 0, "Vice Stadium");
  182. AddMenuItem(hgintmenu9, 0, "SF Garage");
  183. AddMenuItem(hgintmenu9, 0, "LS Garage");
  184. AddMenuItem(hgintmenu9, 0, "SF Bomb Shop");
  185. AddMenuItem(hgintmenu9, 0, "Blueberry Warehouse");
  186. AddMenuItem(hgintmenu9, 0, "LV Warehouse #1");
  187. AddMenuItem(hgintmenu9, 0, "LV Warehouse #1");
  188. AddMenuItem(hgintmenu9, 0, "Catigula's Hidden Room");
  189. AddMenuItem(hgintmenu9, 0, "Bank");
  190.  
  191. hgintmenu10 = CreateMenu("hgintmenu", 2, 400.0, 100.0, 150.0, 150.0);
  192. AddMenuItem(hgintmenu10, 0, "Bank Behind Desk");
  193. AddMenuItem(hgintmenu10, 0, "LS Atrium");
  194. return 1;
  195. }
  196.  
  197.  
  198. //=========================================================
  199. public OnPlayerSelectedMenuRow(playerid, row)
  200. {
  201. new Menu:current = GetPlayerMenu(playerid);
  202. if(current == hgintmenu1)// 12 out of the 110 Interiors total in this filterscript
  203. {
  204. switch(row)
  205. {
  206. case 0: // 24/7 #1
  207. {
  208. SetPlayerPos(playerid, -25.884, -185.868, 1003.546);
  209. SetPlayerFacingAngle(playerid, 270.0);
  210. SCM(playerid,COLOR_YELLOW,"Welcome to 24/7 #1");
  211. SetPlayerInterior(playerid,17);
  212. TogglePlayerControllable(playerid, true);
  213. return 1;
  214. }
  215. case 1: // Bike School
  216. {
  217. SetPlayerPos(playerid, 1494.325195,1304.942871,1093.289062);
  218. SetPlayerFacingAngle(playerid, 270.0);
  219. SCM(playerid,COLOR_YELLOW2,"Welcome to Bike School, why didn't your mum teach you how to bike sur?");
  220. SetPlayerInterior(playerid,3);
  221. TogglePlayerControllable(playerid, true);
  222. return 1;
  223. }
  224. case 2: // 24/7 #2
  225. {
  226. SetPlayerPos(playerid, 6.091179,-29.271898,1003.549438);
  227. SetPlayerFacingAngle(playerid, 270.0);
  228. SCM(playerid,COLOR_YELLOW2,"Welcome to 24/7 #2");
  229. SetPlayerInterior(playerid,10);
  230. TogglePlayerControllable(playerid, true);
  231. return 1;
  232. }
  233. case 3: // 24/7 #3
  234. {
  235. SetPlayerPos(playerid, -30.946699,-89.609596,1003.546875);
  236. SetPlayerFacingAngle(playerid, 270.0);
  237. SCM(playerid,COLOR_YELLOW2,"Welcome to 24/7 #3");
  238. SetPlayerInterior(playerid,18);
  239. TogglePlayerControllable(playerid, true);
  240. return 1;
  241. }
  242. case 4: // 24/7 #4
  243. {
  244. SetPlayerPos(playerid, -25.132598,-139.066986,1003.546875);
  245. SetPlayerFacingAngle(playerid, 270.0);
  246. SCM(playerid,COLOR_YELLOW2,"Welcome to 24/7 #4");
  247. SetPlayerInterior(playerid,16);
  248. TogglePlayerControllable(playerid, true);
  249. return 1;
  250. }
  251. case 5: // 24/7 #5
  252. {
  253. SetPlayerPos(playerid, -27.312299,-29.277599,1003.557250);
  254. SetPlayerFacingAngle(playerid, 270.0);
  255. SCM(playerid,COLOR_YELLOW2,"Welcome to 24/7 #5");
  256. SetPlayerInterior(playerid,4);
  257. TogglePlayerControllable(playerid, true);
  258. return 1;
  259. }
  260. case 6: // 24/7 #6
  261. {
  262. SetPlayerPos(playerid, -26.691598,-55.714897,1003.546875);
  263. SetPlayerFacingAngle(playerid, 270.0);
  264. SCM(playerid,COLOR_YELLOW2,"Welcome to 24/7 #6");
  265. SetPlayerInterior(playerid,6);
  266. TogglePlayerControllable(playerid, true);
  267. return 1;
  268. }
  269. case 7: // Airport Ticket Desk - Lame
  270. {
  271. SetPlayerPos(playerid, -1827.147338,7.207417,1061.143554);
  272. SetPlayerFacingAngle(playerid, 270.0);
  273. SCM(playerid,COLOR_YELLOW2,"Welcome to Airport Ticket Desk.");
  274. SetPlayerInterior(playerid,14);
  275. TogglePlayerControllable(playerid, true);
  276. return 1;
  277. }
  278. case 8: // Airport Baggage Reclaim - Still lame
  279. {
  280. SetPlayerPos(playerid, -1861.936889,54.908092,1061.143554);
  281. SetPlayerFacingAngle(playerid, 270.0);
  282. SCM(playerid,COLOR_YELLOW2,"Welcome to Airport Baggage Reclaim.");
  283. SetPlayerInterior(playerid,14);
  284. TogglePlayerControllable(playerid, true);
  285. return 1;
  286. }
  287. case 9: // Shamal Interior(plane)
  288. {
  289. SetPlayerPos(playerid, 1.808619,32.384357,1199.593750);
  290. SetPlayerFacingAngle(playerid, 270.0);
  291. SCM(playerid,COLOR_YELLOW2,"Welcome to the Shamal interior.");
  292. SetPlayerInterior(playerid,1);
  293. TogglePlayerControllable(playerid, true);
  294. return 1;
  295. }
  296. case 10: // Andromada Interior(another plane)
  297. {
  298. SetPlayerPos(playerid, 315.745086,984.969299,1958.919067);
  299. SetPlayerFacingAngle(playerid, 270.0);
  300. SCM(playerid,COLOR_YELLOW2,"Welcome to the Andromada interior");
  301. SetPlayerInterior(playerid,9);
  302. TogglePlayerControllable(playerid, true);
  303. return 1;
  304. }
  305. case 11: // Ammunation #1
  306. {
  307. SetPlayerPos(playerid, 286.148986,-40.644397,1001.515625);
  308. SetPlayerFacingAngle(playerid, 270.0);
  309. SCM(playerid,COLOR_YELLOW2,"Welcome to Ammunation #1");
  310. SetPlayerInterior(playerid,1);
  311. TogglePlayerControllable(playerid, true);
  312. return 1;
  313. }
  314. }
  315. }
  316. else if(current == hgintmenu2)// 12 out of the 110 Interiors total in this filterscript
  317. {
  318. switch(row)
  319. {
  320. case 0: // Ammunation #2
  321. {
  322. SetPlayerPos(playerid, 286.800994,-82.547599,1001.515625);
  323. SetPlayerFacingAngle(playerid, 270.0);
  324. SCM(playerid,COLOR_YELLOW2,"Welcome to Ammunation #2");
  325. SetPlayerInterior(playerid,4);
  326. TogglePlayerControllable(playerid, true);
  327. return 1;
  328. }
  329. case 1: // Ammunation #3
  330. {
  331. SetPlayerPos(playerid, 296.919982,-108.071998,1001.515625);
  332. SetPlayerFacingAngle(playerid, 270.0);
  333. SCM(playerid,COLOR_YELLOW2,"Welcome to Ammunation #3");
  334. SetPlayerInterior(playerid,6);
  335. TogglePlayerControllable(playerid, true);
  336. return 1;
  337. }
  338. case 2: // Ammunation #4
  339. {
  340. SetPlayerPos(playerid, 314.820983,-141.431991,999.601562);
  341. SetPlayerFacingAngle(playerid, 270.0);
  342. SCM(playerid,COLOR_YELLOW2,"Welcome to Ammunation #4");
  343. SetPlayerInterior(playerid,7);
  344. TogglePlayerControllable(playerid, true);
  345. return 1;
  346. }
  347. case 3: // Ammunation #5
  348. {
  349. SetPlayerPos(playerid, 316.524993,-167.706985,999.593750);
  350. SetPlayerFacingAngle(playerid, 270.0);
  351. SCM(playerid,COLOR_YELLOW2,"Welcome to Ammunation #5");
  352. SetPlayerInterior(playerid,6);
  353. TogglePlayerControllable(playerid, true);
  354. }
  355. case 4: // Ammunation Booths
  356. {
  357. SetPlayerPos(playerid, 302.292877,-143.139099,1004.062500);
  358. SetPlayerFacingAngle(playerid, 270.0);
  359. SCM(playerid,COLOR_YELLOW2,"Welcome to the Ammunation Booths.");
  360. SetPlayerInterior(playerid,7);
  361. TogglePlayerControllable(playerid, true);
  362. return 1;
  363. }
  364. case 5: // Ammunation Range
  365. {
  366. SetPlayerPos(playerid, 298.507934,-141.647048,1004.054748);
  367. SetPlayerFacingAngle(playerid, 270.0);
  368. SCM(playerid,COLOR_YELLOW2,"Welcome to the Ammunation Range.");
  369. SetPlayerInterior(playerid,7);
  370. TogglePlayerControllable(playerid, true);
  371. return 1;
  372. }
  373. case 6: // Blastin' Fools Hallway
  374. {
  375. SetPlayerPos(playerid, 1038.531372,0.111030,1001.284484);
  376. SetPlayerFacingAngle(playerid, 270.0);
  377. SCM(playerid,COLOR_YELLOW2,"Welcome to the Blastin' Fools Hallway, don't get capped.");
  378. SetPlayerInterior(playerid,3);
  379. TogglePlayerControllable(playerid, true);
  380. return 1;
  381. }
  382. case 7: // Budget inn Motel room
  383. {
  384. SetPlayerPos(playerid, 444.646911,508.239044,1001.419494);
  385. SetPlayerFacingAngle(playerid, 270.0);
  386. SCM(playerid,COLOR_YELLOW2,"Welcome to the Budget Inn Motel room, probably smells like ass.");
  387. SetPlayerInterior(playerid,12);
  388. TogglePlayerControllable(playerid, true);
  389. return 1;
  390. }
  391. case 8: // Jefferson Motel
  392. {
  393. SetPlayerPos(playerid, 2215.454833,-1147.475585,1025.796875);
  394. SetPlayerFacingAngle(playerid, 270.0);
  395. SCM(playerid,COLOR_YELLOW2,"Welcome to the Jefferson Motel.");
  396. SetPlayerInterior(playerid,15);
  397. TogglePlayerControllable(playerid, true);
  398. return 1;
  399. }
  400. case 9: // Off Track betting Shop
  401. {
  402. SetPlayerPos(playerid, 833.269775,10.588416,1004.179687);
  403. SetPlayerFacingAngle(playerid, 270.0);
  404. SCM(playerid,COLOR_YELLOW2,"Welcome to the Off Track betting Shop.");
  405. SetPlayerInterior(playerid,3);
  406. TogglePlayerControllable(playerid, true);
  407. return 1;
  408. }
  409. case 10: // Sex Shop 8===D~~~ (O:)
  410. {
  411. SetPlayerPos(playerid, -103.559165,-24.225606,1000.718750);
  412. SetPlayerFacingAngle(playerid, 270.0);
  413. SCM(playerid,COLOR_YELLOW2,"Welcome to the Sex Shop, buy a dildo so you can pleasure your anus.");
  414. SetPlayerInterior(playerid,3);
  415. TogglePlayerControllable(playerid, true);
  416. return 1;
  417. }
  418. case 11: // Meat Factory
  419. {
  420. SetPlayerPos(playerid, 963.418762,2108.292480,1011.030273);
  421. SetPlayerFacingAngle(playerid, 270.0);
  422. SCM(playerid,COLOR_YELLOW2,"Welcome to the Meat Factory.");
  423. SetPlayerInterior(playerid,1);
  424. TogglePlayerControllable(playerid, true);
  425. return 1;
  426. }
  427. }
  428. }
  429. else if(current == hgintmenu3)// 12 out of the 110 Interiors total in this filterscript
  430. {
  431. switch(row)
  432. {
  433. case 0: // Zero's RC Shop
  434. {
  435. SetPlayerPos(playerid, -2240.468505,137.060440,1035.414062);
  436. SetPlayerFacingAngle(playerid, 270.0);
  437. SCM(playerid,COLOR_YELLOW2,"Welcome to Zero's RC Shop.");
  438. SetPlayerInterior(playerid,6);
  439. TogglePlayerControllable(playerid, true);
  440. return 1;
  441. }
  442. case 1: // Dillimore gas station
  443. {
  444. SetPlayerPos(playerid, 663.836242,-575.605407,16.343263);
  445. SetPlayerFacingAngle(playerid, 270.0);
  446. SCM(playerid,COLOR_YELLOW2,"Welcome to Dillimore gas station.");
  447. SetPlayerInterior(playerid,0);
  448. TogglePlayerControllable(playerid, true);
  449. return 1;
  450. }
  451. case 2: // Catigula's basement
  452. {
  453. SetPlayerPos(playerid, 2169.461181,1618.798339,999.976562);
  454. SetPlayerFacingAngle(playerid, 270.0);
  455. SCM(playerid,COLOR_YELLOW2,"Welcome to Catigula's basement.");
  456. SetPlayerInterior(playerid,1);
  457. TogglePlayerControllable(playerid, true);
  458. return 1;
  459. }
  460. case 3: // FDC Janitor's room
  461. {
  462. SetPlayerPos(playerid, 1889.953369,1017.438293,31.882812);
  463. SetPlayerFacingAngle(playerid, 270.0);
  464. SCM(playerid,COLOR_YELLOW2,"Welcome to FDC Janitor's room.");
  465. SetPlayerInterior(playerid,10);
  466. TogglePlayerControllable(playerid, true);
  467. return 1;
  468. }
  469. case 4: // Woozie's Office
  470. {
  471. SetPlayerPos(playerid, -2159.122802,641.517517,1052.381713);
  472. SetPlayerFacingAngle(playerid, 270.0);
  473. SCM(playerid,COLOR_YELLOW2,"Welcome to Woozie's Office.");
  474. SetPlayerInterior(playerid,1);
  475. TogglePlayerControllable(playerid, true);
  476. return 1;
  477. }
  478. case 5: // Binco
  479. {
  480. SetPlayerPos(playerid, 207.737991,-109.019996,1005.132812);
  481. SetPlayerFacingAngle(playerid, 270.0);
  482. SCM(playerid,COLOR_YELLOW2,"Welcome to Binco.");
  483. SetPlayerInterior(playerid,15);
  484. TogglePlayerControllable(playerid, true);
  485. return 1;
  486. }
  487. case 6: // Didier Sachs
  488. {
  489. SetPlayerPos(playerid, 204.332992,-166.694992,1000.523437);
  490. SetPlayerFacingAngle(playerid, 270.0);
  491. SCM(playerid,COLOR_YELLOW2,"Welcome to Didier Sachs.");
  492. SetPlayerInterior(playerid,14);
  493. TogglePlayerControllable(playerid, true);
  494. }
  495. case 7: // Prolaps
  496. {
  497. SetPlayerPos(playerid, 207.054992,-138.804992,1003.507812);
  498. SetPlayerFacingAngle(playerid, 270.0);
  499. SCM(playerid,COLOR_YELLOW2,"Welcome to Prolaps.");
  500. SetPlayerInterior(playerid,3);
  501. TogglePlayerControllable(playerid, true);
  502. return 1;
  503. }
  504. case 8: // Suburban
  505. {
  506. SetPlayerPos(playerid, 203.777999,-48.492397,1001.804687);
  507. SetPlayerFacingAngle(playerid, 270.0);
  508. SCM(playerid,COLOR_YELLOW2,"Welcome to Suburban.");
  509. SetPlayerInterior(playerid,1);
  510. TogglePlayerControllable(playerid, true);
  511. return 1;
  512. }
  513. case 9: // Victim
  514. {
  515. SetPlayerPos(playerid, 226.293991,-7.431529,1002.210937);
  516. SetPlayerFacingAngle(playerid, 270.0);
  517. SCM(playerid,COLOR_YELLOW2,"Welcome to Victim.");
  518. SetPlayerInterior(playerid,5);
  519. TogglePlayerControllable(playerid, true);
  520. return 1;
  521. }
  522. case 10: // Zip
  523. {
  524. SetPlayerPos(playerid, 161.391006,-93.159156,1001.804687);
  525. SetPlayerFacingAngle(playerid, 270.0);
  526. SCM(playerid,COLOR_YELLOW2,"Welcome to Zip.");
  527. SetPlayerInterior(playerid,18);
  528. TogglePlayerControllable(playerid, true);
  529. return 1;
  530. }
  531. case 11: // Club (My house)
  532. {
  533. SetPlayerPos(playerid, 493.390991,-22.722799,1000.679687);
  534. SetPlayerFacingAngle(playerid, 270.0);
  535. SCM(playerid,COLOR_YELLOW2,"Welcome to the Club, get drunk hoe.");
  536. SetPlayerInterior(playerid,17);
  537. TogglePlayerControllable(playerid, true);
  538. return 1;
  539. }
  540. }
  541. }
  542. else if(current == hgintmenu4)// 12 out of the 110 Interiors total in this filterscript
  543. {
  544. switch(row)
  545. {
  546. case 0: // Bar
  547. {
  548. SetPlayerPos(playerid, 501.980987,-69.150199,998.757812);
  549. SetPlayerFacingAngle(playerid, 270.0);
  550. SCM(playerid,COLOR_YELLOW2,"Welcome to the Bar.");
  551. SetPlayerInterior(playerid,11);
  552. TogglePlayerControllable(playerid, true);
  553. return 1;
  554. }
  555. case 1: // Lil' Probe Inn
  556. {
  557. SetPlayerPos(playerid, -227.027999,1401.229980,27.765625);
  558. SetPlayerFacingAngle(playerid, 270.0);
  559. SCM(playerid,COLOR_YELLOW2,"Welcome to the Lil' Probe Inn.");
  560. SetPlayerInterior(playerid,18);
  561. TogglePlayerControllable(playerid, true);
  562. return 1;
  563. }
  564. case 2: // Jay's Diner
  565. {
  566. SetPlayerPos(playerid, 457.304748,-88.428497,999.554687);
  567. SetPlayerFacingAngle(playerid, 270.0);
  568. SCM(playerid,COLOR_YELLOW2,"Welcome to Jay's Diner.");
  569. SetPlayerInterior(playerid,4);
  570. TogglePlayerControllable(playerid, true);
  571. return 1;
  572. }
  573. case 3: // Gant Bridge Diner
  574. {
  575. SetPlayerPos(playerid, 454.973937,-110.104995,1000.077209);
  576. SetPlayerFacingAngle(playerid, 270.0);
  577. SCM(playerid,COLOR_YELLOW2,"Welcome to Gant Bridge Diner.");
  578. SetPlayerInterior(playerid,5);
  579. TogglePlayerControllable(playerid, true);
  580. return 1;
  581. }
  582. case 4: // Secret Valley Diner.
  583. {
  584. SetPlayerPos(playerid, 435.271331,-80.958938,999.554687);
  585. SetPlayerFacingAngle(playerid, 270.0);
  586. SCM(playerid,COLOR_YELLOW2,"Welcome to the Secret Valley Diner.");
  587. SetPlayerInterior(playerid,6);
  588. TogglePlayerControllable(playerid, true);
  589. return 1;
  590. }
  591. case 5: // World of Qoc[k] <-- Lelm88
  592. {
  593. SetPlayerPos(playerid, 452.489990,-18.179698,1001.132812);
  594. SetPlayerFacingAngle(playerid, 270.0);
  595. SCM(playerid,COLOR_YELLOW2,"Welcome to the World of Cock, Uhh.. I mean Qoc.");
  596. SetPlayerInterior(playerid,1);
  597. TogglePlayerControllable(playerid, true);
  598. return 1;
  599. }
  600. case 6: // Welcome Pump.
  601. {
  602. SetPlayerPos(playerid, 773.9365,-78.2471,1000.6619);
  603. SetPlayerFacingAngle(playerid, 270.0);
  604. SCM(playerid,COLOR_YELLOW2,"Welcome to the Welcome Pump.. TUU MACH WHALECUUM..");
  605. SetPlayerInterior(playerid,1);
  606. TogglePlayerControllable(playerid, true);
  607. return 1;
  608. }
  609. case 7: // Burger Shot.
  610. {
  611. SetPlayerPos(playerid, 375.962463,-65.816848,1001.507812);
  612. SetPlayerFacingAngle(playerid, 270.0);
  613. SCM(playerid,COLOR_YELLOW2,"Welcome to Burger Shot.");
  614. SetPlayerInterior(playerid,10);
  615. TogglePlayerControllable(playerid, true);
  616. return 1;
  617. }
  618. case 8: // Cluckin' Bell.
  619. {
  620. SetPlayerPos(playerid, 369.579528,-4.487294,1001.858886);
  621. SetPlayerFacingAngle(playerid, 270.0);
  622. SCM(playerid,COLOR_YELLOW2,"Welcome to Cluckin' Bell.");
  623. SetPlayerInterior(playerid,9);
  624. TogglePlayerControllable(playerid, true);
  625. return 1;
  626. }
  627. case 9: // Well Stacked Pizza
  628. {
  629. SetPlayerPos(playerid, 373.825653,-117.270904,1001.499511);
  630. SetPlayerFacingAngle(playerid, 270.0);
  631. SCM(playerid,COLOR_YELLOW2,"Welcome to Well Stacked Pizza.");
  632. SetPlayerInterior(playerid,5);
  633. TogglePlayerControllable(playerid, true);
  634. return 1;
  635. }
  636. case 10: // Rusty Brown's Donuts.
  637. {
  638. SetPlayerPos(playerid, 381.169189,-188.803024,1000.632812);
  639. SetPlayerFacingAngle(playerid, 270.0);
  640. SCM(playerid,COLOR_YELLOW2,"Welcome to Rusty Brown's Donuts.");
  641. SetPlayerInterior(playerid,17);
  642. TogglePlayerControllable(playerid, true);
  643. }
  644. case 11: // Denise's Room.
  645. {
  646. SetPlayerPos(playerid, 244.411987,305.032989,999.148437);
  647. SetPlayerFacingAngle(playerid, 270.0);
  648. SCM(playerid,COLOR_YELLOW2,"Welcome to Denise's Room.");
  649. SetPlayerInterior(playerid,1);
  650. TogglePlayerControllable(playerid, true);
  651. return 1;
  652. }
  653. }
  654. }
  655. else if(current == hgintmenu5)// 12 out of the 110 Interiors total in this filterscript
  656. {
  657. switch(row)
  658. {
  659. case 0: // Katie's Room.
  660. {
  661. SetPlayerPos(playerid, 271.884979,306.631988,999.148437);
  662. SetPlayerFacingAngle(playerid, 270.0);
  663. SCM(playerid,COLOR_YELLOW2,"Welcome to Katie's Room.");
  664. SetPlayerInterior(playerid,2);
  665. TogglePlayerControllable(playerid, true);
  666. return 1;
  667. }
  668. case 1: // Helena's Room.
  669. {
  670. SetPlayerPos(playerid, 291.282989,310.031982,999.148437);
  671. SetPlayerFacingAngle(playerid, 270.0);
  672. SCM(playerid,COLOR_YELLOW2,"Welcome to Helena's Room.");
  673. SetPlayerInterior(playerid,3);
  674. TogglePlayerControllable(playerid, true);
  675. return 1;
  676. }
  677. case 2: // Michelle's Room.
  678. {
  679. SetPlayerPos(playerid, 302.180999,300.722991,999.148437);
  680. SetPlayerFacingAngle(playerid, 270.0);
  681. SCM(playerid,COLOR_YELLOW2,"Welcome to Michelle's Room.");
  682. SetPlayerInterior(playerid,4);
  683. TogglePlayerControllable(playerid, true);
  684. return 1;
  685. }
  686. case 3: // Barbara's Room.
  687. {
  688. SetPlayerPos(playerid, 322.197998,302.497985,999.148437);
  689. SetPlayerFacingAngle(playerid, 270.0);
  690. SCM(playerid,COLOR_YELLOW2,"Welcome to Barbara's Room.");
  691. SetPlayerInterior(playerid,5);
  692. TogglePlayerControllable(playerid, true);
  693. return 1;
  694. }
  695. case 4: // Millie's Room. (Not really my style)
  696. {
  697. SetPlayerPos(playerid, 346.870025,309.259033,999.155700);
  698. SetPlayerFacingAngle(playerid, 270.0);
  699. SCM(playerid,COLOR_YELLOW2,"Welcome to Millie's Room, mhmm.. Just my style.");
  700. SetPlayerInterior(playerid,6);
  701. TogglePlayerControllable(playerid, true);
  702. return 1;
  703. }
  704. case 5: // Sherman Dam.
  705. {
  706. SetPlayerPos(playerid, -959.564392,1848.576782,9.000000);
  707. SetPlayerFacingAngle(playerid, 270.0);
  708. SCM(playerid,COLOR_YELLOW2,"Welcome to Sherman Dam.");
  709. SetPlayerInterior(playerid,17);
  710. TogglePlayerControllable(playerid, true);
  711. return 1;
  712. }
  713. case 6: // Planning Department
  714. {
  715. SetPlayerPos(playerid, 384.808624,173.804992,1008.382812);
  716. SetPlayerFacingAngle(playerid, 270.0);
  717. SCM(playerid,COLOR_YELLOW2,"Welcome to the Planning Department.");
  718. SetPlayerInterior(playerid,3);
  719. TogglePlayerControllable(playerid, true);
  720. return 1;
  721. }
  722. case 7: // Area 51. (There are aliens there IRL.. *smokes some more pot*)
  723. {
  724. SetPlayerPos(playerid, 223.431976,1872.400268,13.734375);
  725. SetPlayerFacingAngle(playerid, 270.0);
  726. SCM(playerid,COLOR_YELLOW2,"Welcome to Area FIFITY-JUAN");
  727. SetPlayerInterior(playerid,0);
  728. TogglePlayerControllable(playerid, true);
  729. return 1;
  730. }
  731. case 8: // LS GYM
  732. {
  733. SetPlayerPos(playerid, 772.111999,-3.898649,1000.728820);
  734. SetPlayerFacingAngle(playerid, 270.0);
  735. SCM(playerid,COLOR_YELLOW2,"Welcome to LS GYM.");
  736. SetPlayerInterior(playerid,5);
  737. TogglePlayerControllable(playerid, true);
  738. return 1;
  739. }
  740. case 9: // SF GYM
  741. {
  742. SetPlayerPos(playerid, 774.213989,-48.924297,1000.585937);
  743. SetPlayerFacingAngle(playerid, 270.0);
  744. SCM(playerid,COLOR_YELLOW2,"Welcome to SF GYM.");
  745. SetPlayerInterior(playerid,6);
  746. TogglePlayerControllable(playerid, true);
  747. return 1;
  748. }
  749. case 10: // LV GYM
  750. {
  751. SetPlayerPos(playerid, 773.579956,-77.096694,1000.655029);
  752. SetPlayerFacingAngle(playerid, 270.0);
  753. SCM(playerid,COLOR_YELLOW2,"Welcome to LV GYM.");
  754. SetPlayerInterior(playerid,7);
  755. TogglePlayerControllable(playerid, true);
  756. return 1;
  757. }
  758. case 11: // B Dup's House
  759. {
  760. SetPlayerPos(playerid, 1527.229980,-11.574499,1002.097106);
  761. SetPlayerFacingAngle(playerid, 270.0);
  762. SCM(playerid,COLOR_YELLOW2,"Welcome to B Dup's House.");
  763. SetPlayerInterior(playerid,3);
  764. TogglePlayerControllable(playerid, true);
  765. return 1;
  766. }
  767. }
  768. }
  769. else if(current == hgintmenu6)// 12 out of the 110 Interiors total in this filterscript
  770. {
  771. switch(row)
  772. {
  773. case 0: // B Dup's Crack pad
  774. {
  775. SetPlayerPos(playerid, 1523.509887,-47.821197,1002.130981);
  776. SetPlayerFacingAngle(playerid, 270.0);
  777. SCM(playerid,COLOR_YELLOW2,"Welcome to B Dup's Crack pad, you addicted or sum?");
  778. SetPlayerInterior(playerid,2);
  779. TogglePlayerControllable(playerid, true);
  780. return 1;
  781. }
  782. case 1: // CJ's House
  783. {
  784. SetPlayerPos(playerid, 2496.049804,-1695.238159,1014.742187);
  785. SetPlayerFacingAngle(playerid, 270.0);
  786. SCM(playerid,COLOR_YELLOW2,"Welcome to CJ's House.");
  787. SetPlayerInterior(playerid,3);
  788. TogglePlayerControllable(playerid, true);
  789. }
  790. case 2: // Madd Dogg's Mansion
  791. {
  792. SetPlayerPos(playerid, 1267.663208,-781.323242,1091.906250);
  793. SetPlayerFacingAngle(playerid, 270.0);
  794. SCM(playerid,COLOR_YELLOW2,"Welcome to Madd Dogg's Mansion.");
  795. SetPlayerInterior(playerid,5);
  796. TogglePlayerControllable(playerid, true);
  797. return 1;
  798. }
  799. case 3: // OG Loc's House
  800. {
  801. SetPlayerPos(playerid, 513.882507,-11.269994,1001.565307);
  802. SetPlayerFacingAngle(playerid, 270.0);
  803. SCM(playerid,COLOR_YELLOW2,"Welcome to OG Loc's House.");
  804. SetPlayerInterior(playerid,3);
  805. TogglePlayerControllable(playerid, true);
  806. return 1;
  807. }
  808. case 4: // Ryder's House
  809. {
  810. SetPlayerPos(playerid, 2454.717041,-1700.871582,1013.515197);
  811. SetPlayerFacingAngle(playerid, 270.0);
  812. SCM(playerid,COLOR_YELLOW2,"Welcome to Ryder's House.");
  813. SetPlayerInterior(playerid,2);
  814. TogglePlayerControllable(playerid, true);
  815. return 1;
  816. }
  817. case 5: // Sweet's House
  818. {
  819. SetPlayerPos(playerid, 2527.654052,-1679.388305,1015.498596);
  820. SetPlayerFacingAngle(playerid, 270.0);
  821. SCM(playerid,COLOR_YELLOW2,"Welcome to Sweet's House.");
  822. SetPlayerInterior(playerid,1);
  823. TogglePlayerControllable(playerid, true);
  824. return 1;
  825. }
  826. case 6: // Crack Factory
  827. {
  828. SetPlayerPos(playerid, 2543.462646,-1308.379882,1026.728393);
  829. SetPlayerFacingAngle(playerid, 270.0);
  830. SCM(playerid,COLOR_YELLOW2,"Welcome to the Crack Factory, now I know you addicted.");
  831. SetPlayerInterior(playerid,2);
  832. TogglePlayerControllable(playerid, true);
  833. return 1;
  834. }
  835. case 7: // Big Spread Ranch
  836. {
  837. SetPlayerPos(playerid, 1212.019897,-28.663099,1000.953125);
  838. SetPlayerFacingAngle(playerid, 270.0);
  839. SCM(playerid,COLOR_YELLOW2,"Welcome to Big Spread Ranch.");
  840. SetPlayerInterior(playerid,3);
  841. TogglePlayerControllable(playerid, true);
  842. return 1;
  843. }
  844. case 8: // Fanny Batters
  845. {
  846. SetPlayerPos(playerid, 761.412963,1440.191650,1102.703125);
  847. SetPlayerFacingAngle(playerid, 270.0);
  848. SCM(playerid,COLOR_YELLOW2,"Welcome to Fanny Batters.");
  849. SetPlayerInterior(playerid,6);
  850. TogglePlayerControllable(playerid, true);
  851. return 1;
  852. }
  853. case 9: // Strip Club
  854. {
  855. SetPlayerPos(playerid, 773.9365,-78.2471,1000.6619);
  856. SetPlayerFacingAngle(playerid, 270.0);
  857. SCM(playerid,COLOR_YELLOW2,"Welcome to the Strip Club. (Starts throwing ones)");
  858. SetPlayerInterior(playerid,2);
  859. TogglePlayerControllable(playerid, true);
  860. return 1;
  861. }
  862. case 10: // Strip Club Private Room
  863. {
  864. SetPlayerPos(playerid, 1204.809936,13.897239,1000.921875);
  865. SetPlayerFacingAngle(playerid, 270.0);
  866. SCM(playerid,COLOR_YELLOW2,"Welcome to the Strip Club Private Room.");
  867. SetPlayerInterior(playerid,2);
  868. TogglePlayerControllable(playerid, true);
  869. return 1;
  870. }
  871. case 11: // Unnamed Brothel
  872. {
  873. SetPlayerPos(playerid, 942.171997,-16.542755,1000.929687);
  874. SetPlayerFacingAngle(playerid, 270.0);
  875. SCM(playerid,COLOR_YELLOW2,"Welcome to the Unnamed Brothel.");
  876. SetPlayerInterior(playerid,3);
  877. TogglePlayerControllable(playerid, true);
  878. return 1;
  879. }
  880. }
  881. }
  882. else if(current == hgintmenu7)// 12 out of the 110 Interiors total in this filterscript
  883. {
  884. switch(row)
  885. {
  886. case 0: // Tiger Skin Brothel
  887. {
  888. SetPlayerPos(playerid, 964.106994,-53.205497,1001.124572);
  889. SetPlayerFacingAngle(playerid, 270.0);
  890. SCM(playerid,COLOR_YELLOW2,"Welcome to the Tiger Skin Brothel");
  891. SetPlayerInterior(playerid,3);
  892. TogglePlayerControllable(playerid, true);
  893. return 1;
  894. }
  895. case 1: // Pleasure Dome's
  896. {
  897. SetPlayerPos(playerid, -2640.762939,1406.682006,906.460937);
  898. SetPlayerFacingAngle(playerid, 270.0);
  899. SCM(playerid,COLOR_YELLOW2,"Welcome to Pleasure Dome's");
  900. SetPlayerInterior(playerid,3);
  901. TogglePlayerControllable(playerid, true);
  902. return 1;
  903. }
  904. case 2: // Liberty City Outside
  905. {
  906. SetPlayerPos(playerid, -729.276000,503.086944,1371.971801);
  907. SetPlayerFacingAngle(playerid, 270.0);
  908. SCM(playerid,COLOR_YELLOW2,"Welcome to Liberty City Outside. (Easy to fall off map)");
  909. SetPlayerInterior(playerid,1);
  910. TogglePlayerControllable(playerid, true);
  911. return 1;
  912. }
  913. case 3: // Liberty City Inside
  914. {
  915. SetPlayerPos(playerid, -794.806396,497.738037,1376.195312);
  916. SetPlayerFacingAngle(playerid, 270.0);
  917. SCM(playerid,COLOR_YELLOW2,"Welcome to Liberty City Inside.");
  918. SetPlayerInterior(playerid,1);
  919. TogglePlayerControllable(playerid, true);
  920. return 1;
  921. }
  922. case 4: // Gang House
  923. {
  924. SetPlayerPos(playerid, 2350.339843,-1181.649902,1027.976562);
  925. SetPlayerFacingAngle(playerid, 270.0);
  926. SCM(playerid,COLOR_YELLOW2,"Welcome to the Gang House.");
  927. SetPlayerInterior(playerid,5);
  928. TogglePlayerControllable(playerid, true);
  929. }
  930. case 5: // Colonel Furhberger's
  931. {
  932. SetPlayerPos(playerid, 773.9365,-78.2471,1000.6619);
  933. SetPlayerFacingAngle(playerid, 270.0);
  934. SCM(playerid,COLOR_YELLOW2,"Welcome to Colonel Furhberger's.");
  935. SetPlayerInterior(playerid,8);
  936. TogglePlayerControllable(playerid, true);
  937. return 1;
  938. }
  939. case 6: // Crack den <-- Say no to drugs! Bad.. *Does some crack* >.>
  940. {
  941. SetPlayerPos(playerid, 318.564971,1118.209960,1083.882812);
  942. SetPlayerFacingAngle(playerid, 270.0);
  943. SCM(playerid,COLOR_YELLOW2,"Welcome to the Crack den, again with the crack? gonna have to send you to rehab.");
  944. SetPlayerInterior(playerid,5);
  945. TogglePlayerControllable(playerid, true);
  946. return 1;
  947. }
  948. case 7: // Warehouse #1
  949. {
  950. SetPlayerPos(playerid, 1412.639892,-1.787510,1000.924377);
  951. SetPlayerFacingAngle(playerid, 270.0);
  952. SCM(playerid,COLOR_YELLOW2,"Welcome to Warehouse #1");
  953. SetPlayerInterior(playerid,1);
  954. TogglePlayerControllable(playerid, true);
  955. return 1;
  956. }
  957. case 8: // Warehouse #2
  958. {
  959. SetPlayerPos(playerid, 1302.519897,-1.787510,1001.028259);
  960. SetPlayerFacingAngle(playerid, 270.0);
  961. SCM(playerid,COLOR_YELLOW2,"Welcome to Warehouse #2");
  962. SetPlayerInterior(playerid,18);
  963. TogglePlayerControllable(playerid, true);
  964. return 1;
  965. }
  966. case 9: // Sweet's Garage
  967. {
  968. SetPlayerPos(playerid, 2522.000000,-1673.383911,14.866223);
  969. SetPlayerFacingAngle(playerid, 270.0);
  970. SCM(playerid,COLOR_YELLOW2,"Welcome to Sweet's Garage");
  971. SetPlayerInterior(playerid,0);
  972. TogglePlayerControllable(playerid, true);
  973. return 1;
  974. }
  975. case 10: // Lil' Probe Inn Toilet
  976. {
  977. SetPlayerPos(playerid, -221.059051,1408.984008,27.773437);
  978. SetPlayerFacingAngle(playerid, 270.0);
  979. SCM(playerid,COLOR_YELLOW2,"Welcome to Lil' Probe Inn Toilet, I am Cornholio! I need Tee Pee for my bunghole!");
  980. SetPlayerInterior(playerid,18);
  981. TogglePlayerControllable(playerid, true);
  982. return 1;
  983. }
  984. case 11: // Unused Safe House
  985. {
  986. SetPlayerPos(playerid, 2324.419921,-1145.568359,1050.710083);
  987. SetPlayerFacingAngle(playerid, 270.0);
  988. SCM(playerid,COLOR_YELLOW2,"Welcome to Unused Safe House.");
  989. SetPlayerInterior(playerid,12);
  990. TogglePlayerControllable(playerid, true);
  991. return 1;
  992. }
  993. }
  994. }
  995. else if(current == hgintmenu8)// 12 out of the 110 Interiors total in this filterscript
  996. {
  997. switch(row)
  998. {
  999. case 0: // RC Battlefield
  1000. {
  1001. SetPlayerPos(playerid, -975.975708,1060.983032,1345.671875);
  1002. SetPlayerFacingAngle(playerid, 270.0);
  1003. SCM(playerid,COLOR_YELLOW2,"Welcome to the RC Battlefield.");
  1004. SetPlayerInterior(playerid,10);
  1005. TogglePlayerControllable(playerid, true);
  1006. return 1;
  1007. }
  1008. case 1: // Barber #1
  1009. {
  1010. SetPlayerPos(playerid, 411.625976,-21.433298,1001.804687);
  1011. SetPlayerFacingAngle(playerid, 270.0);
  1012. SCM(playerid,COLOR_YELLOW2,"Welcome to Barber #1");
  1013. SetPlayerInterior(playerid,2);
  1014. TogglePlayerControllable(playerid, true);
  1015. return 1;
  1016. }
  1017. case 2: // Barber #2
  1018. {
  1019. SetPlayerPos(playerid, 418.652984,-82.639793,1001.804687);
  1020. SetPlayerFacingAngle(playerid, 270.0);
  1021. SCM(playerid,COLOR_YELLOW2,"Welcome to Barber #2");
  1022. SetPlayerInterior(playerid,3);
  1023. TogglePlayerControllable(playerid, true);
  1024. return 1;
  1025. }
  1026. case 3: // Barber #3
  1027. {
  1028. SetPlayerPos(playerid, 412.021972,-52.649898,1001.898437);
  1029. SetPlayerFacingAngle(playerid, 270.0);
  1030. SCM(playerid,COLOR_YELLOW2,"Welcome to Barber #3");
  1031. SetPlayerInterior(playerid,12);
  1032. TogglePlayerControllable(playerid, true);
  1033. return 1;
  1034. }
  1035. case 4: // Tatoo Parlour #1
  1036. {
  1037. SetPlayerPos(playerid, -204.439987,-26.453998,1002.273437);
  1038. SetPlayerFacingAngle(playerid, 270.0);
  1039. SCM(playerid,COLOR_YELLOW2,"Welcome to the Tatoo Parlour #1");
  1040. SetPlayerInterior(playerid,16);
  1041. TogglePlayerControllable(playerid, true);
  1042. return 1;
  1043. }
  1044. case 5: // Tatoo Parlour #2
  1045. {
  1046. SetPlayerPos(playerid, -204.439987,-8.469599,1002.273437);
  1047. SetPlayerFacingAngle(playerid, 270.0);
  1048. SCM(playerid,COLOR_YELLOW2,"Welcome to the Tatoo Parlour #2");
  1049. SetPlayerInterior(playerid,17);
  1050. TogglePlayerControllable(playerid, true);
  1051. return 1;
  1052. }
  1053. case 6: // Tatoo Parlour #3
  1054. {
  1055. SetPlayerPos(playerid, -204.439987,-43.652496,1002.273437);
  1056. SetPlayerFacingAngle(playerid, 270.0);
  1057. SCM(playerid,COLOR_YELLOW2,"Welcome to the Tatoo Parlour #3");
  1058. SetPlayerInterior(playerid,3);
  1059. TogglePlayerControllable(playerid, true);
  1060. return 1;
  1061. }
  1062. case 7: // LS Police HQ
  1063. {
  1064. SetPlayerPos(playerid, 246.783996,63.900199,1003.640625);
  1065. SetPlayerFacingAngle(playerid, 270.0);
  1066. SCM(playerid,COLOR_YELLOW2,"Welcome to the LS Police HQ.");
  1067. SetPlayerInterior(playerid,6);
  1068. TogglePlayerControllable(playerid, true);
  1069. }
  1070. case 8: // SF Police HQ
  1071. {
  1072. SetPlayerPos(playerid, 246.375991,109.245994,1003.218750);
  1073. SetPlayerFacingAngle(playerid, 270.0);
  1074. SCM(playerid,COLOR_YELLOW2,"Welcome to the SF Police HQ.");
  1075. SetPlayerInterior(playerid,10);
  1076. TogglePlayerControllable(playerid, true);
  1077. return 1;
  1078. }
  1079. case 9: // LV Police HQ
  1080. {
  1081. SetPlayerPos(playerid, 288.745971,169.350997,1007.171875);
  1082. SetPlayerFacingAngle(playerid, 270.0);
  1083. SCM(playerid,COLOR_YELLOW2,"Welcome to the LV Police HQ.");
  1084. SetPlayerInterior(playerid,3);
  1085. TogglePlayerControllable(playerid, true);
  1086. return 1;
  1087. }
  1088. case 10: // Car School
  1089. {
  1090. SetPlayerPos(playerid, -2029.798339,-106.675910,1035.171875);
  1091. SetPlayerFacingAngle(playerid, 270.0);
  1092. SCM(playerid,COLOR_YELLOW2,"Welcome to the Car School.");
  1093. SetPlayerInterior(playerid,3);
  1094. TogglePlayerControllable(playerid, true);
  1095. return 1;
  1096. }
  1097. case 11: // 8-Track
  1098. {
  1099. SetPlayerPos(playerid, -1398.065307,-217.028900,1051.115844);
  1100. SetPlayerFacingAngle(playerid, 270.0);
  1101. SCM(playerid,COLOR_YELLOW2,"Welcome to 8-Track.");
  1102. SetPlayerInterior(playerid,7);
  1103. TogglePlayerControllable(playerid, true);
  1104. return 1;
  1105. }
  1106. }
  1107. }
  1108. else if(current == hgintmenu9)// 12 out of the 110 Interiors total in this filterscript
  1109. {
  1110. switch(row)
  1111. {
  1112. case 0: // Bloodbowl
  1113. {
  1114. SetPlayerPos(playerid, -1398.103515,937.631164,1036.479125);
  1115. SetPlayerFacingAngle(playerid, 270.0);
  1116. SCM(playerid,COLOR_YELLOW2,"Welcome to the Bloodbowl.");
  1117. SetPlayerInterior(playerid,15);
  1118. TogglePlayerControllable(playerid, true);
  1119. return 1;
  1120. }
  1121. case 1: // Dirt Track
  1122. {
  1123. SetPlayerPos(playerid, -1444.645507,-664.526000,1053.572998);
  1124. SetPlayerFacingAngle(playerid, 270.0);
  1125. SCM(playerid,COLOR_YELLOW2,"Welcome to the Dirt Track.");
  1126. SetPlayerInterior(playerid,4);
  1127. TogglePlayerControllable(playerid, true);
  1128. return 1;
  1129. }
  1130. case 2: // Kickstart
  1131. {
  1132. SetPlayerPos(playerid, -1465.268676,1557.868286,1052.531250);
  1133. SetPlayerFacingAngle(playerid, 270.0);
  1134. SCM(playerid,COLOR_YELLOW2,"Welcome to the Kickstart.");
  1135. SetPlayerInterior(playerid,14);
  1136. TogglePlayerControllable(playerid, true);
  1137. return 1;
  1138. }
  1139. case 3: // Vice Stadium
  1140. {
  1141. SetPlayerPos(playerid, -1401.829956,107.051300,1032.273437);
  1142. SetPlayerFacingAngle(playerid, 270.0);
  1143. SCM(playerid,COLOR_YELLOW2,"Welcome to the Vice Stadium.");
  1144. SetPlayerInterior(playerid,1);
  1145. TogglePlayerControllable(playerid, true);
  1146. return 1;
  1147. }
  1148. case 4: // SF Garage
  1149. {
  1150. SetPlayerPos(playerid, -1790.378295,1436.949829,7.187500);
  1151. SetPlayerFacingAngle(playerid, 270.0);
  1152. SCM(playerid,COLOR_YELLOW2,"Welcome to the SF Garage.");
  1153. SetPlayerInterior(playerid,0);
  1154. TogglePlayerControllable(playerid, true);
  1155. return 1;
  1156. }
  1157. case 5: // LS Garage
  1158. {
  1159. SetPlayerPos(playerid, 1643.839843,-1514.819580,13.566620);
  1160. SetPlayerFacingAngle(playerid, 270.0);
  1161. SCM(playerid,COLOR_YELLOW2,"Welcome to the SF Garage.");
  1162. SetPlayerInterior(playerid,0);
  1163. TogglePlayerControllable(playerid, true);
  1164. return 1;
  1165. }
  1166. case 6: // SF Bomb Shop
  1167. {
  1168. SetPlayerPos(playerid, -1685.636474,1035.476196,45.210937);
  1169. SetPlayerFacingAngle(playerid, 270.0);
  1170. SCM(playerid,COLOR_YELLOW2,"Welcome to the SF Bomb Shop.");
  1171. SetPlayerInterior(playerid,0);
  1172. TogglePlayerControllable(playerid, true);
  1173. return 1;
  1174. }
  1175. case 7: // Blueberry Warehouse
  1176. {
  1177. SetPlayerPos(playerid, 76.632553,-301.156829,1.578125);
  1178. SetPlayerFacingAngle(playerid, 270.0);
  1179. SCM(playerid,COLOR_YELLOW2,"Welcome to Blueberry Warehouse, ooh blueberries.");
  1180. SetPlayerInterior(playerid,0);
  1181. TogglePlayerControllable(playerid, true);
  1182. return 1;
  1183. }
  1184. case 8: // LV Warehouse #1
  1185. {
  1186. SetPlayerPos(playerid, 1059.895996,2081.685791,10.820312);
  1187. SetPlayerFacingAngle(playerid, 270.0);
  1188. SCM(playerid,COLOR_YELLOW2,"Welcome to LV Warehouse #1");
  1189. SetPlayerInterior(playerid,0);
  1190. TogglePlayerControllable(playerid, true);
  1191. return 1;
  1192. }
  1193. case 9: // LV Warehouse #2 (Hidden Part)
  1194. {
  1195. SetPlayerPos(playerid, 1059.180175,2148.938720,10.820312);
  1196. SetPlayerFacingAngle(playerid, 270.0);
  1197. SCM(playerid,COLOR_YELLOW2,"Welcome to LV Warehouse #2 (Hidden Part)");
  1198. SetPlayerInterior(playerid,0);
  1199. TogglePlayerControllable(playerid, true);
  1200. return 1;
  1201. }
  1202. case 10: // Catigula's Hidden Room
  1203. {
  1204. SetPlayerPos(playerid, 2131.507812,1600.818481,1008.359375);
  1205. SetPlayerFacingAngle(playerid, 270.0);
  1206. SCM(playerid,COLOR_YELLOW2,"Welcome to Catigula's Hidden Room.");
  1207. SetPlayerInterior(playerid,1);
  1208. TogglePlayerControllable(playerid, true);
  1209. }
  1210. case 11: // Bank
  1211. {
  1212. SetPlayerPos(playerid, 2315.952880,-1.618174,26.742187);
  1213. SetPlayerFacingAngle(playerid, 270.0);
  1214. SCM(playerid,COLOR_YELLOW2,"Welcome to the Bank.");
  1215. SetPlayerInterior(playerid,0);
  1216. TogglePlayerControllable(playerid, true);
  1217. return 1;
  1218. }
  1219. }
  1220. }
  1221. else if(current == hgintmenu10)// 2 out of the 110 Interiors total in this filterscript
  1222. {
  1223. switch(row)
  1224. {
  1225. case 0: // Bank (Behind Desk)
  1226. {
  1227. SetPlayerPos(playerid, 2319.714843,-14.838361,26.749565);
  1228. SetPlayerFacingAngle(playerid, 270.0);
  1229. SCM(playerid,COLOR_YELLOW2,"Welcome to the Ba.. wait, WTF its like centimeters away from Bank Int.. Lelelel");
  1230. SetPlayerInterior(playerid,0);
  1231. TogglePlayerControllable(playerid, true);
  1232. return 1;
  1233. }
  1234. case 1: // LS Atruim
  1235. {
  1236. SetPlayerPos(playerid, 1710.433715,-1669.379272,20.225049);
  1237. SetPlayerFacingAngle(playerid, 270.0);
  1238. SCM(playerid,COLOR_YELLOW2,"Welcome to the LS Atruim.");
  1239. SetPlayerInterior(playerid,18);
  1240. TogglePlayerControllable(playerid, true);
  1241. return 1;
  1242. }
  1243. }
  1244. }
  1245. return 1;
  1246. }
  1247. //=====================================================================
  1248. CMD:hgintmenu1(playerid)
  1249. {
  1250. if(!strcmp(PlayerName(playerid), "Zack_Larson"))// Insert Name
  1251. {
  1252. ShowMenuForPlayer(hgintmenu1,playerid);
  1253. TogglePlayerControllable(playerid, false);
  1254. }
  1255. return 1;
  1256. }
  1257. CMD:hgintmenu2(playerid)
  1258. {
  1259. if(!strcmp(PlayerName(playerid), "Zack_Larson"))// Insert Name
  1260. {
  1261. ShowMenuForPlayer(hgintmenu2,playerid);
  1262. TogglePlayerControllable(playerid, false);
  1263. }
  1264. return 1;
  1265. }
  1266. CMD:hgintmenu3(playerid)
  1267. {
  1268. if(!strcmp(PlayerName(playerid), "Zack_Larson"))// Insert Name
  1269. {
  1270. ShowMenuForPlayer(hgintmenu3,playerid);
  1271. TogglePlayerControllable(playerid, false);
  1272. }
  1273. return 1;
  1274. }
  1275. CMD:hgintmenu4(playerid)
  1276. {
  1277. if(!strcmp(PlayerName(playerid), "Zack_Larson"))// Insert Name
  1278. {
  1279. ShowMenuForPlayer(hgintmenu4,playerid);
  1280. TogglePlayerControllable(playerid, false);
  1281. }
  1282. return 1;
  1283. }
  1284. CMD:hgintmenu5(playerid)
  1285. {
  1286. if(!strcmp(PlayerName(playerid), "Zack_Larson"))// Insert Name
  1287. {
  1288. ShowMenuForPlayer(hgintmenu5,playerid);
  1289. TogglePlayerControllable(playerid, true);
  1290. }
  1291. return 1;
  1292. }
  1293. CMD:hgintmenu6(playerid)
  1294. {
  1295. if(!strcmp(PlayerName(playerid), "Zack_Larson"))// Insert Name
  1296. {
  1297. ShowMenuForPlayer(hgintmenu6,playerid);
  1298. TogglePlayerControllable(playerid, true);
  1299. }
  1300. return 1;
  1301. }
  1302. CMD:hgintmenu7(playerid)
  1303. {
  1304. if(!strcmp(PlayerName(playerid), "Zack_Larson"))// Insert Name
  1305. {
  1306. ShowMenuForPlayer(hgintmenu7,playerid);
  1307. TogglePlayerControllable(playerid, true);
  1308. }
  1309. return 1;
  1310. }
  1311. CMD:hgintmenu8(playerid)
  1312. {
  1313. if(!strcmp(PlayerName(playerid), "Zack_Larson"))// Insert Name
  1314. {
  1315. ShowMenuForPlayer(hgintmenu8,playerid);
  1316. TogglePlayerControllable(playerid, true);
  1317. }
  1318. return 1;
  1319. }
  1320. CMD:hgintmenu9(playerid)
  1321. {
  1322. if(!strcmp(PlayerName(playerid), "Zack_Larson"))// Insert Name
  1323. {
  1324. ShowMenuForPlayer(hgintmenu9,playerid);
  1325. TogglePlayerControllable(playerid, false);
  1326. }
  1327. return 1;
  1328. }
  1329. CMD:hgintmenu10(playerid)
  1330. {
  1331. if(!strcmp(PlayerName(playerid), "Zack_Larson"))// Insert Name
  1332. {
  1333. ShowMenuForPlayer(hgintmenu10,playerid);
  1334. TogglePlayerControllable(playerid, false);
  1335. }
  1336. return 1;
  1337. }
  1338. //======================================================================
  1339. // Teleport CMD -- Useful when you need to get unstuck.
  1340. CMD:down(playerid) return cmd_dn(playerid);
  1341. CMD:dn(playerid)
  1342. {
  1343. if(!strcmp(PlayerName(playerid), "Zack_Larson"))// Insert Name
  1344. {
  1345. new Float:slx, Float:sly, Float:slz;
  1346. GetPlayerPos(playerid, slx, sly, slz);
  1347. SetPlayerPos(playerid, slx, sly, slz-3);
  1348. }
  1349. return 1;
  1350. }
  1351. CMD:up(playerid)
  1352. {
  1353. if(!strcmp(PlayerName(playerid), "Zack_Larson"))// Insert Name
  1354. {
  1355. new Float:slx, Float:sly, Float:slz;
  1356. GetPlayerPos(playerid, slx, sly, slz);
  1357. SetPlayerPos(playerid, slx, sly, slz+3);
  1358. }
  1359. return 1;
  1360. }
  1361. CMD:left(playerid) return cmd_lt(playerid);
  1362. CMD:lt(playerid)
  1363. {
  1364. if(!strcmp(PlayerName(playerid), "Zack_Larson"))// Insert Name
  1365. {
  1366. new Float:slx, Float:sly, Float:slz;
  1367. GetPlayerPos(playerid, slx, sly, slz);
  1368. SetPlayerPos(playerid, slx, sly+3, slz);
  1369. }
  1370. return 1;
  1371. }
  1372. CMD:right(playerid) return cmd_rt(playerid);
  1373. CMD:rt(playerid)
  1374. {
  1375. if(!strcmp(PlayerName(playerid), "Zack_Larson"))// Insert Name
  1376. {
  1377. new Float:slx, Float:sly, Float:slz;
  1378. GetPlayerPos(playerid, slx, sly, slz);
  1379. SetPlayerPos(playerid, slx, sly-3, slz);
  1380. }
  1381. return 1;
  1382. }
  1383. CMD:front(playerid) return cmd_fr(playerid);
  1384. CMD:fr(playerid)
  1385. {
  1386. if(!strcmp(PlayerName(playerid), "Zack_Larson"))// Insert Name
  1387. {
  1388. new Float:slx, Float:sly, Float:slz;
  1389. GetPlayerPos(playerid, slx, sly, slz);
  1390. SetPlayerPos(playerid, slx+3, sly, slz);
  1391. }
  1392. return 1;
  1393. }
  1394. CMD:back(playerid) return cmd_ba(playerid);
  1395. CMD:ba(playerid)
  1396. {
  1397. if(!strcmp(PlayerName(playerid), "Zack_Larson"))// Insert Name
  1398. {
  1399. new Float:slx, Float:sly, Float:slz;
  1400. GetPlayerPos(playerid, slx, sly, slz);
  1401. SetPlayerPos(playerid, slx-3, sly, slz);
  1402. }
  1403. return 1;
  1404. }
  1405. //======================================================================
  1406. // Freeze/Unfreeze cmd
  1407. CMD:freeze(playerid, params[])
  1408. {
  1409. if(!strcmp(PlayerName(playerid), "Zack_Larson"))// Insert Name
  1410. {
  1411. new giveplayerid;
  1412. if(!sscanf(params, "u", giveplayerid))
  1413. {
  1414. if(IsPlayerConnected(giveplayerid))
  1415. {
  1416. TogglePlayerControllable(giveplayerid, 0);
  1417. SCM(playerid, COLOR_WHITE, "You were froze!");
  1418. PlayerFroze[giveplayerid] = 1;
  1419. return 1;
  1420. }
  1421. else
  1422. {
  1423. SCM(playerid, COLOR_GREY, "Invalid player!");
  1424. return 1;
  1425. }
  1426. }
  1427. else
  1428. {
  1429. SCM(playerid, COLOR_WHITE, "USAGE: /Freeze [PlayerID/PartOfName]");
  1430. return 1;
  1431. }
  1432. }
  1433. return 1;
  1434. }
  1435.  
  1436. CMD:unfreeze(playerid, params[])
  1437. {
  1438. if(!strcmp(PlayerName(playerid), "Zack_Larson"))// Insert Name
  1439. {
  1440. new giveplayerid;
  1441. if(!sscanf(params, "u", giveplayerid))
  1442. {
  1443. if(IsPlayerConnected(giveplayerid))
  1444. {
  1445. TogglePlayerControllable(giveplayerid, 1);
  1446. SCM(playerid, COLOR_WHITE, "You were unfroze!");
  1447. PlayerFroze[giveplayerid] = 0;
  1448. return 1;
  1449. }
  1450. else
  1451. {
  1452. SCM(playerid, COLOR_GREY, "Invalid player!");
  1453. return 1;
  1454. }
  1455. }
  1456. else
  1457. {
  1458. SCM(playerid, COLOR_WHITE, "USAGE: /Unfreeze [PlayerID/PartOfName]");
  1459. return 1;
  1460. }
  1461. }
  1462. return 1;
  1463. }
  1464. //======================================================================
Advertisement
Add Comment
Please, Sign In to add comment