Chainksain

Interior Visualizer

Jun 21st, 2020
487
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 17.82 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. enum //Dialogs
  4. {
  5.     DIALOG_INTERIOR,
  6.     DIALOG_INTERIOR2
  7. }
  8.  
  9. enum intInfo
  10. {
  11.     id,
  12.     Float:posX,
  13.     Float:posY,
  14.     Float:posZ,
  15.     Float:angle,
  16.     name[48]
  17. }
  18.  
  19. new Interior[][intInfo] =
  20. {
  21.     // id, x, y, z, a, name
  22.     {11, 2003.1178, 1015.1948, 33.008, 351.5789, "Four Dragons' Managerial Suite"},
  23.     {5, 770.8033, -0.7033, 1000.7267, 22.8599, "Ganton Gym"},
  24.     {3, 974.0177, -9.5937, 1001.1484, 22.6045, "Brothel"},
  25.     {3, 961.9308, -51.9071, 1001.1172, 95.5381, "Brothel2"},
  26.     {3, 830.6016, 5.9404, 1004.1797, 125.8149, "Inside Track Betting"},
  27.     {3, 1037.8276, 0.397, 1001.2845, 353.9335, "Blastin' Fools Records"},
  28.     {3, 1212.1489, -28.5388, 1000.9531, 170.5692, "The Big Spread Ranch"},
  29.     {18, 1290.4106, 1.9512, 1001.0201, 179.9419, "Warehouse 1"},
  30.     {1, 1412.1472, -2.2836, 1000.9241, 114.661, "Warehouse 2"},
  31.     {3, 1527.0468, -12.0236, 1002.0971, 350.0013, "B Dup's Apartment"},
  32.     {2, 1523.5098, -47.8211, 1002.2699, 262.7038, "B Dup's Crack Palace"},
  33.     {3,612.2191, -123.9028, 997.9922, 266.5704, "Wheel Arch Angels"},
  34.     {3, 512.9291, -11.6929, 1001.5653, 198.7669, "OG Loc's House"},
  35.     {3, 418.4666, -80.4595, 1001.8047, 343.2358, "Barber Shop"},
  36.     {3, 386.5259, 173.6381, 1008.3828, 63.7399, "Planning Department"},
  37.     {3, 288.4723, 170.0647, 1007.1794, 22.0477, "Las Venturas Police Department"},
  38.     {3, 206.4627, -137.7076, 1003.0938, 10.9347, "Pro-Laps"},
  39.     {3, -100.2674, -22.9376, 1000.7188, 17.285, "Sex Shop"},
  40.     {3, -201.2236, -43.2465, 1002.2734, 45.8613, "Las Venturas Tattoo parlor"},
  41.     {17, -202.9381, -6.7006, 1002.2734, 204.2693, "Lost San Fierro Tattoo parlor"},
  42.     {17,-25.7220, -187.8216, 1003.5469, 5.0760, "24/7 (version 1)"},
  43.     {5, 454.9853, -107.2548, 999.4376, 309.0195, "Diner 1"},
  44.     {5, 372.5565, -131.3607, 1001.4922, 354.2285, "Pizza Stack"},
  45.     {17, 378.026, -190.5155, 1000.6328, 141.0245, "Rusty Brown's Donuts"},
  46.     {7, 315.244, -140.8858, 999.6016, 7.4226, "Ammu-nation"},
  47.     {5, 225.0306, -9.1838, 1002.218, 85.5322, "Victim"},
  48.     {2, 611.3536, -77.5574, 997.9995, 320.9263, "Loco Low Co"},
  49.     {10, 246.0688, 108.9703, 1003.2188, 0.2922, "San Fierro Police Department"},
  50.     {10, 6.0856, -28.8966, 1003.5494, 5.0365, "24/7 (version 2 - large)"},
  51.     {7, 773.7318, -74.6957, 1000.6542, 5.2304, "Below The Belt Gym (Las Venturas)"},
  52.     {1, 621.4528, -23.7289, 1000.9219, 15.6789, "Transfenders"},
  53.     {1, 445.6003, -6.9823, 1000.7344, 172.2105, "World of Coq"},
  54.     {1, 285.8361, -39.0166, 1001.5156, 0.7529, "Ammu-nation (version 2)"},
  55.     {1, 204.1174, -46.8047, 1001.8047, 357.5777, "SubUrban"},
  56.     {1, 245.2307, 304.7632, 999.1484, 273.4364, "Denise's Bedroom"},
  57.     {3, 290.623, 309.0622, 999.1484, 89.9164, "Helena's Barn"},
  58.     {5, 322.5014, 303.6906, 999.1484, 8.1747, "Barbara's Love nest"},
  59.     {1, -2041.2334, 178.3969, 28.8465, 156.2153, "San Fierro Garage"},
  60.     {1, -1402.6613, 106.3897, 1032.2734, 105.1356, "Oval Stadium"},
  61.     {7, -1403.0116, -250.4526, 1043.5341, 355.8576, "8-Track Stadium"},
  62.     {2, 1204.6689, -13.5429, 1000.9219, 350.0204, "The Pig Pen (strip club 2)"},
  63.     {10, 2016.1156, 1017.1541, 996.875, 88.0055, "Four Dragons"},
  64.     {1, -741.8495, 493.0036, 1371.9766, 71.7782, "Liberty City"},
  65.     {2, 2447.8704, -1704.4509, 1013.5078, 314.5253, "Ryder's house"},
  66.     {1, 2527.0176, -1679.2076, 1015.4986, 260.9709, "Sweet's House"},
  67.     {10, -1129.8909, 1057.5424, 1346.4141, 274.5268, "RC Battlefield"},
  68.     {3, 2496.0549, -1695.1749, 1014.7422, 179.2174, "The Johnson House"},
  69.     {10, 366.0248, -73.3478, 1001.5078, 292.0084, "Burger shot"},
  70.     {1, 2233.9363, 1711.8038, 1011.6312, 184.3891, "Caligula's Casino"},
  71.     {2, 269.6405, 305.9512, 999.1484, 215.6625, "Katie's Lovenest"},
  72.     {2, 414.2987, -18.8044, 1001.8047, 41.4265, "Barber Shop 2 (Reece's)"},
  73.     {2, 1.1853, -3.2387, 999.4284, 87.5718, "Angel Pine Trailer"},
  74.     {18, -30.9875, -89.6806, 1003.5469, 359.8401, "24/7 (version 3)"},
  75.     {18, 161.4048, -94.2416, 1001.8047, 0.7938, "Zip"},
  76.     {3, -2638.8232, 1407.3395, 906.4609, 94.6794, "The Pleasure Domes"},
  77.     {5, 1267.8407, -776.9587, 1091.9063, 231.3418, "Madd Dogg's Mansion"},
  78.     {2, 2536.5322, -1294.8425, 1044.125, 254.9548, "Big Smoke's Crack Palace"},
  79.     {5, 2350.1597, -1181.0658, 1027.9766, 99.1864, "Burning Desire Building"},
  80.     {1, -2158.6731, 642.09, 1052.375, 86.5402, "Wu-Zi Mu's"},
  81.     {10, 419.8936, 2537.1155, 10.0, 67.6537, "Abandoned AC tower"},
  82.     {14, 256.9047, -41.6537, 1002.0234, 85.8774, "Wardrobe/Changing room"},
  83.     {14, 204.1658, -165.7678, 1000.5234, 181.7583, "Didier Sachs"},
  84.     {12, 1133.35, -7.8462, 1000.6797, 165.8482," Casino (Redsands West)"},
  85.     {14, -1420.4277, 1616.9221, 1052.5313, 159.1255, "Kickstart Stadium"},
  86.     {17, 493.1443, -24.2607, 1000.6797, 356.9864, "Club"},
  87.     {18, 1727.2853, -1642.9451, 20.2254, 172.4193, "Atrium"},
  88.     {16, -202.842, -24.0325, 1002.2734, 252.8154, "Los Santos Tattoo Parlor"},
  89.     {5, 2233.6919, -1112.8107, 1050.8828, 8.6483, "Safe House group 1"},
  90.     {6, 1211.2484, 1049.0234, 359.941, 170.9341, "Safe House group 2"},
  91.     {9, 2319.1272, -1023.9562, 1050.2109, 167.3959, "Safe House group 3"},
  92.     {10, 2261.0977, -1137.8833, 1050.6328, 266.88, "Safe House group 4"},
  93.     {17, -944.2402, 1886.1536, 5.0051, 179.8548, "Sherman Dam"},
  94.     {16, -26.1856, -140.9164, 1003.5469, 2.9087, "24/7 (version 4)"},
  95.     {15, 2217.281, -1150.5349, 1025.7969, 273.7328, "Jefferson Motel"},
  96.     {1, 1.5491, 23.3183, 1199.5938, 359.9054, "Jet Interior"},
  97.     {1, 681.6216, -451.8933, -25.6172, 166.166, "The Welcome Pump"},
  98.     {3, 234.6087, 1187.8195, 1080.2578, 349.4844, "Burglary House X1"},
  99.     {2, 225.5707, 1240.0643, 1082.1406, 96.2852, "Burglary House X2"},
  100.     {1, 224.288, 1289.1907, 1082.1406, 359.868, "Burglary House X3"},
  101.     {5, 239.2819, 1114.1991, 1080.9922, 270.2654, "Burglary House X4"},
  102.     {15, 207.5219, -109.7448, 1005.1328, 358.62, "Binco"},
  103.     {15, 295.1391, 1473.3719, 1080.2578, 352.9526, "4 Burglary houses"},
  104.     {15, -1417.8927, 932.4482, 1041.5313, 0.7013, "Blood Bowl Stadium"},
  105.     {12, 446.3247, 509.9662, 1001.4195, 330.5671, "Budget Inn Motel Room"},
  106.     {0, 2306.3826, -15.2365, 26.7496, 274.49, "Palamino Bank"},
  107.     {0, 2331.8984, 6.7816, 26.5032, 100.2357, "Palamino Diner"},
  108.     {0, 663.0588, -573.6274, 16.3359, 264.9829, "Dillimore Gas Station"},
  109.     {18, -227.5703, 1401.5544, 27.7656, 269.2978, "Lil' Probe Inn"},
  110.     {0, -688.1496, 942.0826, 13.6328, 177.6574, "Torreno's Ranch"},
  111.     {0, -1916.1268, 714.8617, 46.5625, 152.2839, "Zombotech - lobby area"},
  112.     {0, 818.7714, -1102.8689, 25.794, 91.1439, "Crypt in LS cemetery (temple)"},
  113.     {0, 255.2083, -59.6753, 1.5703, 1.4645, "Blueberry Liquor Store"},
  114.     {2, 446.626, 1397.738, 1084.3047, 343.9647, "Pair of Burglary Houses"},
  115.     {5, 227.3922, 1114.6572, 1080.9985, 267.459, "Crack Den"},
  116.     {5, 227.7559, 1114.3844, 1080.9922, 266.2624, "Burglary House X11"},
  117.     {4, 261.1165, 1287.2197, 1080.2578, 178.9149, "Burglary House X12"},
  118.     {4, 291.7626, -80.1306, 1001.5156, 290.2195, "Ammu-nation (version 3)"},
  119.     {4, 449.0172, -88.9894, 999.5547, 89.6608, "Jay's Diner"},
  120.     {4, -27.844, -26.6737, 1003.5573, 184.3118, "24/7 (version 5)"},
  121.     {0, 2135.2004, -2276.2815, 20.6719, 318.59, "Warehouse 3"},
  122.     {4, 306.1966, 307.819, 1003.3047, 203.1354, "Michelle's Love Nest"},
  123.     {10, 24.3769, 1341.1829, 1084.375, 8.3305, "Burglary House X14"},
  124.     {1, 963.0586, 2159.7563, 1011.0303, 175.313, "Sindacco Abatoir"},
  125.     {0, 2548.4807, 2823.7429, 10.8203, 270.6003, "K.A.C.C. Military Fuels Depot"},
  126.     {0, 215.1515, 1874.0579, 13.1406, 177.5538, "Area 69"},
  127.     {4, 221.6766, 1142.4962, 1082.6094, 184.9618, "Burglary House X13"},
  128.     {12, 2323.7063, -1147.6509, 1050.7101, 206.5352, "Unused Safe House"},
  129.     {6, 344.9984, 307.1824, 999.1557, 193.643, "Millie's Bedroom"},
  130.     {12, 411.9707, -51.9217, 1001.8984, 173.3449, "Barber Shop"},
  131.     {4, -1421.5618, -663.8262, 1059.5569, 170.9341, "Dirtbike Stadium"},
  132.     {6, 773.8887, -47.7698, 1000.5859, 10.7161, "Cobra Gym"},
  133.     {6, 246.6695, 65.8039, 1003.6406, 7.9562, "Los Santos Police Department"},
  134.     {14, -1864.9434, 55.7325, 1055.5276, 85.8541, "Los Santos Airport"},
  135.     {4, -262.1759, 1456.6158, 1084.3672, 82.459, "Burglary House X15"},
  136.     {5, 22.861, 1404.9165, 1084.4297, 349.6158, "Burglary House X16"},
  137.     {5, 140.3679, 1367.8837, 1083.8621, 349.2372, "Burglary House X17"},
  138.     {3, 1494.8589, 1306.48, 1093.2953, 196.065, "Bike School"},
  139.     {14, -1813.213, -58.012, 1058.9641, 335.3199, "Francis International Airport"},
  140.     {16, -1401.067, 1265.3706, 1039.8672, 178.6483, "Vice Stadium"},
  141.     {6, 234.2826, 1065.229, 1084.2101, 4.3864, "Burglary House X18"},
  142.     {6, -68.5145, 1353.8485, 1080.2109, 3.5742, "Burglary House X19"},
  143.     {6, -2240.1028, 136.973, 1035.4141, 269.0954, "Zero's RC Shop"},
  144.     {6, 297.144, -109.8702, 1001.5156, 20.2254, "Ammu-nation (version 4)"},
  145.     {6, 316.5025, -167.6272, 999.5938, 10.3031, "Ammu-nation (version 5)"},
  146.     {15, -285.2511, 1471.197, 1084.375, 85.6547, "Burglary House X20"},
  147.     {6, -26.8339, -55.5846, 1003.5469, 3.9528, "24/7 (version 6)"},
  148.     {6, 442.1295, -52.4782, 999.7167, 177.9394, "Secret Valley Diner"},
  149.     {2, 2182.2017, 1628.5848, 1043.8723, 224.8601, "Rosenberg's Office in Caligulas"},
  150.     {6, 748.4623, 1438.2378, 1102.9531, 0.6069, "Fanny Batter's Whore House"},
  151.     {8, 2807.3604, -1171.7048, 1025.5703, 193.7117, "Colonel Furhberger's"},
  152.     {9, 366.0002, -9.4338, 1001.8516, 160.528, "Cluckin' Bell"},
  153.     {1, 2216.1282, -1076.3052, 1050.4844, 86.428, "The Camel's Toe Safehouse"},
  154.     {1, 2268.5156, 1647.7682, 1084.2344, 99.7331, "Caligula's Roof"},
  155.     {2, 2236.6997, -1078.9478, 1049.0234, 2.5706, "Old Venturas Strip Casino"},
  156.     {3, -2031.1196, -115.8287, 1035.1719, 190.1877, "Driving School"},
  157.     {8, 2365.1089, -1133.0795, 1050.875, 177.3947, "Verdant Bluffs Safehouse"},
  158.     {9, 315.4544, 976.5972, 1960.8511, 359.6368, "Andromada"},
  159.     {10, 1893.0731, 1017.8958, 31.8828, 86.1044, "Four Dragons' Janitor's Office"},
  160.     {11, 501.9578, -70.5648, 998.7578, 171.5706, "Bar"},
  161.     {8, -42.5267, 1408.23, 1084.4297, 172.068, "Burglary House X21"},
  162.     {11, 2283.3118, 1139.307, 1050.8984, 19.7032, "Willowfield Safehouse"},
  163.     {9, 84.9244, 1324.2983, 1083.8594, 159.5582, "Burglary House X22"},
  164.     {9, 260.7421, 1238.2261, 1084.2578, 84.3084, "Burglary House X23"},
  165.     {0, -1658.1656, 1215.0002, 7.25, 103.9074, "Otto's Autos"},
  166.     {0, -1961.6281, 295.2378, 35.4688, 264.4891, "Wang Cars"},
  167.     {7, 302.292877, 143.139099, 1004.062500, 0.0, "Ammu-nation Booth"},
  168.     {7, 280.795104, -135.203353, 1004.062500, 0.0, "Ammu-nation Range"}
  169. };
  170.  
  171. public OnFilterScriptInit()
  172. {
  173.     print("\n--------------------------------------");
  174.     print(" Interior Visualizer by Chainksain");
  175.     print("     FusioN SA:MP 2020");
  176.     print("--------------------------------------\n");
  177.     return 1;
  178. }
  179.  
  180. public OnPlayerCommandText(playerid, cmdtext[])
  181. {
  182.     if (!strcmp("/int", cmdtext, true) || !strcmp("/interior", cmdtext, true))
  183.     {
  184.         ShowPlayerDialog(playerid, DIALOG_INTERIOR, DIALOG_STYLE_LIST, "Interior Visualizer", "24/7's\nAirports/Aeroplane's\nAmmunation's\nBurglary Houses\nMissions/Cutscenes\nSafe Houses\nUnused\nShops/Casinos\nModding shops\nMisc", "OK", "Cancel");
  185.         return 1;
  186.     }
  187.     return 0;
  188. }
  189.  
  190. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  191. {
  192.     switch(dialogid)
  193.     {
  194.         case DIALOG_INTERIOR:
  195.         {
  196.             if(response)
  197.             {
  198.                 if (!strcmp("24/7's", inputtext, true))
  199.                     ShowPlayerDialog(playerid, DIALOG_INTERIOR2, DIALOG_STYLE_TABLIST_HEADERS, inputtext, "Interior\tID\n\
  200.                     24/7 (version 1)\t17\n\
  201.                     24/7 (version 2 - large)\t10\n\
  202.                     24/7 (version 3)\t18\n\
  203.                     24/7 (version 4)\t16\n\
  204.                     24/7 (version 5)\t4\n\
  205.                     24/7 (version 6)\t6",
  206.                     "OK", "Back");
  207.                 else if (!strcmp("Airports/Aeroplane's", inputtext, true))
  208.                     ShowPlayerDialog(playerid, DIALOG_INTERIOR2, DIALOG_STYLE_TABLIST_HEADERS, inputtext, "Interior\tID\n\
  209.                     Francis International Airport\t14\n\
  210.                     Los Santos Airport\t14\n\
  211.                     Andromada\t9\n\
  212.                     Jet\t1",
  213.                     "OK", "Back");
  214.                 else if (!strcmp("Ammunation's", inputtext, true))
  215.                     ShowPlayerDialog(playerid, DIALOG_INTERIOR2, DIALOG_STYLE_TABLIST_HEADERS, inputtext, "Interior\tID\n\
  216.                     Ammu-nation\t7\n\
  217.                     Ammu-nation (version 2)\t1\n\
  218.                     Ammu-nation (version 3)\t4\n\
  219.                     Ammu-nation (version 4)\t6\n\
  220.                     Ammu-nation (version 5)\t6\n\
  221.                     Ammu-nation Booth\t7\n\
  222.                     Ammu-nation Range\t7\n",
  223.                     "OK", "Back");
  224.                 else if (!strcmp("Burglary Houses", inputtext, true))
  225.                     ShowPlayerDialog(playerid, DIALOG_INTERIOR2, DIALOG_STYLE_TABLIST_HEADERS, inputtext, "Interior\tID\n\
  226.                     Burglary House X1\t3\n\
  227.                     Burglary House X2\t2\n\
  228.                     Burglary House X3\t1\n\
  229.                     Burglary House X4\t5\n\
  230.                     4 Burglary houses\t15\n\
  231.                     Pair of Burglary Houses\t2\n\
  232.                     Pair of Burglary Houses\t2\n\
  233.                     Burglary House X11\t5\n\
  234.                     Burglary House X12\t4\n\
  235.                     Burglary House X13\t4\n\
  236.                     Burglary House X14\t10\n\
  237.                     Burglary House X15\t4\n\
  238.                     Burglary House X16\t5\n\
  239.                     Burglary House X17\t5\n\
  240.                     Burglary House X18\t6\n\
  241.                     Burglary House X19\t6\n\
  242.                     Burglary House X20\t15\n\
  243.                     Burglary House X21\t8\n\
  244.                     Burglary House X22\t9\n\
  245.                     Burglary House X23\t9",
  246.                     "OK", "Back");
  247.                 else if (!strcmp("Missions/Cutscenes", inputtext, true))
  248.                     ShowPlayerDialog(playerid, DIALOG_INTERIOR2, DIALOG_STYLE_TABLIST_HEADERS, inputtext, "Interior\tID\n\
  249.                     Atrium\t18\n\
  250.                     Big Smoke's Crack Palace\t2\n\
  251.                     Blood Bowl Stadium\t15\n\
  252.                     Burning Desire Building\t5\n\
  253.                     Colonel Furhberger's\t8\n\
  254.                     Dillimore Gas Station\t0\n\
  255.                     Jefferson Motel\t15\n\
  256.                     Kickstart Stadium\t14\n\
  257.                     Liberty City\t1\n\
  258.                     The Pleasure Domes\t3\n\
  259.                     RC Battlefield\t10\n\
  260.                     Ryder's house\t2\n\
  261.                     San Fierro Garage\t1\n\
  262.                     Sweet's House\t1\n\
  263.                     The Welcome Pump\t1\n\
  264.                     Wu-Zi Mu's\t1\n\
  265.                     8-Track Stadium\t7\n\
  266.                     Dirtbike Stadium\t4\n\
  267.                     Crack Den\t5",
  268.                     "OK", "Back");
  269.                 else if (!strcmp("Safe Houses", inputtext, true))
  270.                     ShowPlayerDialog(playerid, DIALOG_INTERIOR2, DIALOG_STYLE_TABLIST_HEADERS, inputtext, "Interior\tID\n\
  271.                     Safe House group 1\t5\n\
  272.                     Safe House group 2\t6\n\
  273.                     Safe House group 3\t9\n\
  274.                     Safe House group 4\t10\n\
  275.                     The Johnson House\t3\n\
  276.                     Madd Dogg's Mansion\t5\n\
  277.                     Zero's RC Shop\t6",
  278.                     "OK", "Back");
  279.                 else if (!strcmp("Unused", inputtext, true))
  280.                     ShowPlayerDialog(playerid, DIALOG_INTERIOR2, DIALOG_STYLE_TABLIST_HEADERS, inputtext, "Interior\tID\n\
  281.                     San Fierro Police Department\t10\n\
  282.                     Unused Safe House\t12",
  283.                     "OK", "Back");
  284.                 else if (!strcmp("Shops/Casinos", inputtext, true))
  285.                     ShowPlayerDialog(playerid, DIALOG_INTERIOR2, DIALOG_STYLE_TABLIST_HEADERS, inputtext, "Interior\tID\n\
  286.                     Los Santos Tattoo Parlor\t16\n\
  287.                     Las Venturas Tattoo parlor\t3\n\
  288.                     Lost San Fierro Tattoo parlor\t17\
  289.                     Burger shot\t10\n\
  290.                     Pizza Stack\t5\n\
  291.                     Cluckin' Bell\t9\n\
  292.                     Caligula's Casino\t1\n\
  293.                     Casino (Redsands West)\t12\n\
  294.                     Four Dragons\t10\n\
  295.                     Old Venturas Strip Casino\t2\n\
  296.                     Rusty Brown's Donuts\t17\n\
  297.                     Barber Shop\t3\n\
  298.                     Barber Shop 2 (Reece's)\t2\n\
  299.                     Sex Shop\t3\n\
  300.                     Victim\t5\n\
  301.                     SubUrban\t1\n\
  302.                     Zip\t18\n\
  303.                     Didier Sachs\t14\n\
  304.                     Binco\t15\n\
  305.                     Pro-Laps\t3",
  306.                     "OK", "Back");
  307.                 else if (!strcmp("Modding shops", inputtext, true))
  308.                     ShowPlayerDialog(playerid, DIALOG_INTERIOR2, DIALOG_STYLE_TABLIST_HEADERS, inputtext, "Interior\tID\n\
  309.                     Loco Low Co\t2\n\
  310.                     Wheel Arch Angels\t3\n\
  311.                     Transfender\t1\n\
  312.                     ", "OK", "Back");
  313.                 else if (!strcmp("Misc", inputtext, true))
  314.                     ShowPlayerDialog(playerid, DIALOG_INTERIOR2, DIALOG_STYLE_TABLIST_HEADERS, inputtext, "Interior\tID\n\
  315.                     Los Santos Police Department\t6\n\
  316.                     Las Venturas Police Department\t3\n\
  317.                     Four Dragons' Managerial Suite\t11\n\
  318.                     Ganton Gym\t5\n\
  319.                     Brothel\t3\n\
  320.                     Brothel2\t3\n\
  321.                     Inside Track Betting\t3\n\
  322.                     Blastin' Fools Records\t3\n\
  323.                     The Big Spread Ranch\t3\n\
  324.                     Warehouse 1\t18\n\
  325.                     Warehouse 2\t1\n\
  326.                     B Dup's Apartment\t3\n\
  327.                     B Dup's Crack Palace\t2\n\
  328.                     OG Loc's House\t3\n\
  329.                     Planning Department\t3\n\
  330.                     Diner 1\t5\n\
  331.                     Below The Belt Gym (Las Venturas)\t7\n\
  332.                     World of Coq\t1\n\
  333.                     Denise's Bedroom\t1\n\
  334.                     Helena's Barn\t3\n\
  335.                     Barbara's Love nest\t3\n\
  336.                     Oval Stadium\t1\n\
  337.                     The Pig Pen (strip club 2)\t2\n\
  338.                     Katie's Lovenest\t2\n\
  339.                     Angel Pine Trailer\t2\n\
  340.                     Abandoned AC tower\t10\n\
  341.                     Wardrobe/Changing room\t14\n\
  342.                     Club\t17\n\
  343.                     Sherman Dam\t17\n\
  344.                     Budget Inn Motel Room\t12\n\
  345.                     Palamino Bank\t0\n\
  346.                     Palamino Diner\t0\n\
  347.                     Lil' Probe Inn\t18\n\
  348.                     Torreno's Ranch\t0\n\
  349.                     Zombotech - lobby area\t0\n\
  350.                     Crypt in LS cemetery (temple)\t0\n\
  351.                     Blueberry Liquor Store\t0\n\
  352.                     Jay's Diner\t4\n\
  353.                     Michelle's Love Nest\t4\n\
  354.                     Sindacco Abatoir\t1\n\
  355.                     K.A.C.C. Military Fuels Depot\t0\n\
  356.                     Area 69\t0\n\
  357.                     Millie's Bedroom\t6\n\
  358.                     Cobra Gym\t6\n\
  359.                     Bike School\t3\n\
  360.                     Vice Stadium\t16\n\
  361.                     Secret Valley Diner\t6\n\
  362.                     Rosenberg's Office in Caligulas\t2\n\
  363.                     Fanny Batter's Whore House\t6\n\
  364.                     The Camel's Toe Safehouse\t1\n\
  365.                     Caligula's Roof\t1\n\
  366.                     Driving School\t3\n\
  367.                     Verdant Bluffs Safehouse\t8\n\
  368.                     Four Dragons' Janitor's Office\t10\n\
  369.                     Bar\t11\n\
  370.                     Willowfield Safehouse\t11\n\
  371.                     Otto's Autos\t0\n\
  372.                     Wang Cars\t0",
  373.                     "OK", "Back");
  374.             }
  375.         }
  376.  
  377.         case DIALOG_INTERIOR2:
  378.         {
  379.             if(!response)
  380.                 return ShowPlayerDialog(playerid, DIALOG_INTERIOR, DIALOG_STYLE_LIST, "Interior Visualizer", "24/7's\nAirports/Aeroplane's\nAmmunation's\nBurglary Houses\nMissions/Cutscenes\nSafe Houses\nUnused\nShops/Casinos\nModding shops\nMisc", "OK", "Cancel");
  381.            
  382.             for(new i=0; i<sizeof(Interior); i++)
  383.             if(!strcmp(Interior[i][name], inputtext, true))
  384.             {
  385.                 SetPlayerInterior(playerid, Interior[i][id]);
  386.                 SetPlayerPos(playerid, Interior[i][posX], Interior[i][posY], Interior[i][posZ]);
  387.                 SetPlayerFacingAngle(playerid, Interior[i][angle]);
  388.                 new string[128];
  389.                 format(string, sizeof(string), "Teleportado para o interior %s (ID: %d)", Interior[i][name], Interior[i][id]);
  390.                 SendClientMessage(playerid, -1, string);
  391.                 return 1;
  392.             }
  393.         }
  394.     }
  395.     return 1;
  396. }
Add Comment
Please, Sign In to add comment